Hello, I am using CBL 2.8 and Sync Gateway 2.8.
Recently I got the following error, when I try to execute query, after I got data from server via push-pull replication:
Caused by: LiteCoreException{domain=1, code=5, msg=corrupt revision data}
at com.couchbase.lite.internal.core.C4Query.run(Native Method)
at com.couchbase.lite.internal.core.C4Query.lambda$run$0(C4Query.java:60)
at com.couchbase.lite.internal.core.-$$Lambda$C4Query$5opHAWSVpT7BAQeilhxNXw0sQDA.apply(lambda)
at com.couchbase.lite.internal.core.C4NativePeer.withPeerThrows(C4NativePeer.java:79)
at com.couchbase.lite.internal.core.C4Query.run(C4Query.java:58)
at com.couchbase.lite.AbstractQuery.execute(AbstractQuery.java:135)
at com.couchbase.lite.OrderBy.execute(OrderBy.java:32)
So I cannot query my data. What is the resason for such an exception?
In my case i do not use any left joins, but I got this error anyways. The issues is still present and it is related to Index fields. If some Index field is empty then I got this error. Seems like bad design. I never have any problems with CBL 1x and now after migrating to CBL 2x I got this error.
This description is not enough to formulate an opinion about. If you’d like to post your reproduction steps in detail on the linked ticket then we will add it to the testing suite as part of the ticket’s resolution.