Simplify probe done handling. (#1782)

* Simplify probe done handling.

Seeing a case where the channel abserver is not re-created after
an aborted probe. Simplifying probe done (no callbacks, making it
synchronous).

* log more
This commit is contained in:
Raja Subramanian
2023-06-10 02:07:28 +05:30
committed by GitHub
parent 72ed5b19f7
commit 0e7bdeabcb
3 changed files with 31 additions and 36 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ func (p *Prober) Reset() {
p.clustersMu.Lock()
if p.activeCluster != nil {
p.logger.Debugw("resetting active cluster", "cluster", p.activeCluster.String())
p.logger.Infow("prober: resetting active cluster", "cluster", p.activeCluster.String())
reset = true
info = p.activeCluster.GetInfo()
}