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

XDCR - "validateTargetTopology completed" shown even though it may have failed

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.6.0, 6.6.1, 6.6.2, 7.0.0, 6.6.3, 7.1.0, 7.0.3, 7.0.2, 7.0.1, 6.6.5, 6.6.4, 7.1.1, 7.0.4, 7.1.2
    • Morpheus
    • XDCR
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      func (top_detect_svc *TopologyChangeDetectorSvc) validateTargetTopology() ([]uint16, map[uint16]string, error) {
      	defer top_detect_svc.logger.Infof("TopologyChangeDetectorSvc for pipeline %v validateTargetTopology completed", top_detect_svc.pipeline.Topic())
       
      	targetClusterCompatibility, targetServerVBMap, err := top_detect_svc.getTargetBucketInfo()
       
      	if err != nil {
      		top_detect_svc.logger.Warnf("Skipping target check since received error retrieving target bucket info for %v. err=%v", top_detect_svc.pipeline.Topic(), err)
      		return nil, nil, err
      	}
      

      If an error occurs, the word "completed" should not be printed.

      Attachments

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

        Activity

          There are no comments yet on this issue.

          People

            neil.huang Neil Huang
            neil.huang Neil Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty