Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62130

[BP 7.6.2] - XDCR - Seeing panic in logs "slice bounds out of range [1:0]"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.2
    • 7.6.2
    • XDCR
    • Untriaged
    • 0
    • Unknown

    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:

      1. Setup bidirectional replications between the source and target clusters.
      2. Create a document in source cluster bucket. Document gets mutated to target cluster.
      3. 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.
      4. 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ayush.nayyar Ayush Nayyar
              ayush.nayyar Ayush Nayyar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty