On 2016-02-03 16:01, smg11 wrote:
I am getting this exception for both MongoDb and SQL Server DB. I am using
jackrabbit oak 1.0.17
It uses lucene indexing also asynchronously.
Somehow Repository got corrupted may be due to abrupt shutdown of the web
server and showing DocumentStoreException while starting repository itself.
Is there any way I can correct this?Because this corruption can happen in
production also right? How to fix only those corrupted nodes?
FullStacktrace:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.lang.IllegalArgumentException:
"blob",[["=","_lastRev","r0-0-1","r1529d00d8cc-0-1"]],[["=","_lastRev","r0-0-1","r1529d0184b4-0-1"]],[["=","_lastRev","r0-0-1","r1529d030a47-0-1"]],[["=","_lastRev","r0-0-1","r152a2cc59d1-0-1"]],[["=","_lastRev","r0-0-1","r152a2cdfae0-1-1"]],[["=","_lastRev","r0-0-1","r152a2cf182f-6-1"][*]
expected: value
That's not a stack trace.
Anyway, the *message* indicates that it's coming from RDBDocumentStore
(I can't see how this would happen for Mongo). It could be the problem
described in <https://issues.apache.org/jira/browse/OAK-3670>, fixed in
1.0.25.
Also, I don't recommend using RDBDocumentStore for SQL Server in
production. It's experimental. And, because it's experimental, there's
currently no code for recovery.
Best regards, Julian