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

[BP 7.6.2] - XDCR - "User intervention may be required" class of errors are not reset in the stats stores

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.6.2
    • 7.6.0, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3, 7.2.1, 7.1.5, 7.2.4, 7.0.6, 7.1.7, 7.2.2, 7.1.6, 7.2.3, 7.2.5, 7.6.1
    • XDCR
    • Untriaged
    • 0
    • Unknown

    Description

      We use "ClearErrorsWithString" to clear the pipeline errors related to connectivity issues from its replication status, when the errors are not observed anymore ("User intervention may be required" class of errors originating from remoteClusterSvc).

      PipelineUpdater.run -> PipelineUpdater.checkAndPublishRCError -> ReplicationStatus.ClearErrorsWithString

      Along with deleting the errors from the replication status, it is supposed to also delete the errors in the pipeline prometheus stats storage as well, but it doesn't. For example, other function say "ClearErrors" function does the following:

      func (rs *ReplicationStatus) ClearErrors() {    
      rs.lock.Lock()    
      defer rs.lock.Unlock()    
      rs.err_list = PipelineErrorArray{}    
      rs.Publish(false)
      } 

      The key line being rs.Publish(false) which will delete the errors from the stats store, which the ClearErrorsWithString function doesn't.

      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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty