Details
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)