amaliujia commented on PR #1621: URL: https://github.com/apache/ratis/pull/1621#issuecomment-5944939516
I am familiar with the metrics path so dive this a bit. Just my two cents: So per my understanding the new leader should see an empty HB gauges, but the embedded objet actually became stale, thus it maybe non-empty and cause the test failure. The current test changes to check a global view which IIUC is the source of truth. However the embedded view still remain stale. Then will the right fix be that we should clean up the leader-only metrics on the followers, if they ever acted as leaders before? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
