Details
-
Bug
-
Resolution: Fixed
-
Critical
-
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
-
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.