MINOR:Refactor the metric names into constants in ReplicaManager#13705
MINOR:Refactor the metric names into constants in ReplicaManager#13705divijvaidya merged 3 commits intoapache:trunkfrom
Conversation
|
and this, thanks! @divijvaidya @dajac |
kirktrue
left a comment
There was a problem hiding this comment.
Mostly reviewing this to learn more about the broker side of things. Seems like a straightforward clean up.
d3b5c41 to
725dd27
Compare
|
@hudeqi you requested the review today but I think there are some existing comments above that have not yet been addressed |
9470943 to
16e7265
Compare
|
Hi, @divijvaidya, it has been updated according to your comment, thank you! |
divijvaidya
left a comment
There was a problem hiding this comment.
Looks good to me. One minor thing is to update the PR name (since we use the same for commit messages). As I understand, we are not really optimizing anything here. We are refactoring the metric names into constants.
Can you please change the PR description to reflect the same?
ok, I see, updated the pr name. @divijvaidya |
|
I triggered the CI tests again since last run wasn't complete. Will merge this in after they are successful. |
It seems that the failure of CI check has nothing to do with this pr. @divijvaidya |
Hmm...not sure about that. There are 99 tests failing and I am not comfortable saying that they are not because of this PR. Let's wait a day or 2 for CI to stabilize, after that we can merge from trunk again and try the CI for this PR. |
Is this CI test often unstable? I've hardly ever seen anything that can be completely checked successfully. 😂 |
c0fda76 to
16e7265
Compare
|
Failing tests are unrelated. These are frequently failing tests in trunk. |
Inspired by #13623, the code of the metric in ReplicaManager is optimized (to improve the commit of #13471).