Description
Panic seen in XDCR logs for a bidirectional replication with enableCrossClusterVersioning set to true for the bucket, and mobile set to active. The exact errors seen are:
babysitter.log: [{<<"panic: runtime error: slice bounds out of range [1:0]\n\ngoroutine 350 [running]:\ngithub.com/couchbase/goxdcr/crMeta.getHlvFromMCResponse(0xc003c0"...>>, |
goxdcr.log:panic: runtime error: slice bounds out of range [1:0] |
Test Setup
Bidirectional replications setup between 3 clusters (7.6.2-3674) in chain topology. ECCV (enableCrossClusterVersioning) set to true and mobile set to active in all replications.
Steps to reproduce:
- Setup bidirectional replications between the source and target clusters.
- Create a document in source cluster bucket. Document gets mutated to target cluster.
- Mutate the document on source cluster and simulate mobile import on target cluster. Post simulating the mobile import, also mutate the document in target cluster.
- Document in source cluster does not match document in target cluster, and the revision ID is different as well.
Source Cluster IP: 172.23.105.49
Target Cluster IP: 172.23.105.4
Attaching logs for both clusters below.
Attachments
Issue Links
For Gerrit Dashboard: MB-62151 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
210801,6 | MB-62151: Safety checks against invalid importCAS and pRev formats | master | goxdcr | Status: MERGED | +2 | +1 |