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

XDCR - Avoid dereferencing replicaReplicator instance before initialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0, 7.1.4, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3, 7.2.1, 7.1.5, 7.2.2, 7.1.6, 7.2.3
    • XDCR
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      The execution can panic because the replicatorReplicator instance might be dereferenced in p2pMgr.ReplicationSpecChangeCallback (https://github.com/couchbase/goxdcr/blob/7.1.x/peerToPeer/peerToPeerManager.go#L584) before it was initialized (https://github.com/couchbase/goxdcr/blob/7.1.x/peerToPeer/peerToPeerManager.go#L627)

      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
              sumukh.bhat Sumukh Bhat
              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