The data store consistency check will report any data store binaries that are missing but are still referenced. To start a consistency check, follow these steps:
- Go to the JMX console. For information on how to use the JMX console, see this article.
- Search for the BlobGarbageCollection Mbean and click it.
- Click the checkConsistency() link.
After the consistency check is complete, a message will show the number of binaries reported as missing. If the number is greater than 0, check the error.log for more details on the missing binaries.
Below you will find an example of how the missing binaries are reported in the logs:
11:32:39.673 INFO [main] MarkSweepGarbageCollector.java:600
Consistency check found [1] missing blobs
11:32:39.673 WARN [main] MarkSweepGarbageCollector.java:602 Consistency check failure in the the blob store : DataStore backed BlobStore [org.apache.jackrabbit.oak.plugins.blob.datastore.OakFileDataStore], check missing candidates
in file /tmp/gcworkdir-1467352959243/gccand-1467352959243
The data store consistency check will report any data store binaries that are missing but are still referenced. To start a consistency check, follow these steps:
- Go to the JMX console. For information on how to use the JMX console, see this article.
- Search for the BlobGarbageCollection Mbean and click it.
- Click the checkConsistency() link.
After the consistency check is complete, a message will show the number of binaries reported as missing. If the number is greater than 0, check the error.log for more details on the missing binaries.
Below you will find an example of how the missing binaries are reported in the logs:
11:32:39.673 INFO [main] MarkSweepGarbageCollector.java:600
Consistency check found [1] missing blobs
11:32:39.673 WARN [main] MarkSweepGarbageCollector.java:602 Consistency check failure in the the blob store : DataStore backed BlobStore [org.apache.jackrabbit.oak.plugins.blob.datastore.OakFileDataStore], check missing candidates
in file /tmp/gcworkdir-1467352959243/gccand-1467352959243
thanks for sharing, what to do if we find a missing blob ? I tried following https://helpx.adobe.com/uk/experience-manager/kb/oak-blobstore-inconsistency-blobId.html - but I dont have blobs in any of the backups as well.
ReplyDelete