You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Marco Piovesana <pi...@esteco.com> on 2020/04/15 17:28:48 UTC

corrupted data recovery

Hi all,
I have an installation of oak with a SegmentNodeStore, something bad
happened (still don't know what) and I think the garbage collector deleted
a series of used binaries.
In the log file I first have a sequence of this:

[org.apache.jackrabbit.oak.segment.file.FileStoreUtil] (default task-1086)
Unable to access revision 0dff3798-e812-4d03-a045-cbe7e7ca6440.00000052,
rewinding...

 [org.apache.jackrabbit.oak.segment.file.FileStoreUtil] (default task-1086)
Unable to access revision 598c2035-1a29-4055-adad-45bfaad33c8b.00000052,
rewinding...

And then a sequence of this:
[org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore]
(pool-361-thread-1) Deleted blobs
[00747683d125c07f962e855d9708bffb2f4aa551ef8474b3767057e9ee11669b]

[org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore]
(pool-361-thread-1) Deleted blobs
[00c62f3321626c3bd9410110d145503c9c1d4d9a4c0e78c6057854ec929e50b0]

I was able to restore the repository to a previous checkpoint but all that
was added from the moment of the error until I found it (almost half a day)
seems to be unrecoverable. I tried to remove the broken records following
this
<https://helpx.adobe.com/experience-manager/kb/offline-compaction-fails-with-SegmentNotFoundException-and-IllegalArgumentException.html>
guide but all new content is still missing.
So my question is: there's a way to get it? The repository seems to always
start from the last valid checkpoint. Has anybody an idea of how this can
happen?

Marco.