Uh oh!
There was an error while loading. Please reload this page.
HBASE-24781 Clean up peer metrics when disabling peer - #4997
Conversation
Apache-HBase
commented
Jan 26, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 26, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 26, 2023
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Jan 28, 2023
HBASE-27463 is not enough to fix the metrics problem? |
mosmeh
commented
Jan 28, 2023
Thank you, I was not aware of HBASE-27463. The PR #4863 does seem to address HBASE-24781 too. |
Apache9
commented
Jan 28, 2023
@frostruan Mind taking a look at this PR? Thanks. |
frostruan
commented
Jan 29, 2023
Thanks for the invitation Duo @Apache9 I think it depends on whether we want to keep the old metric information when refresh replication source. If so, then I think this is a great improvement, what only needs to be done is to remind the user of our behavior change in the release note. And also, we may need to change the clearMetric flag to false to avoid calling singleSourceSource.clear() in https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java#L470 ? What do you think ? @mosmeh |
mosmeh
commented
Jan 29, 2023
You are correct. Updated to clearMetric=false. |
Apache-HBase
commented
Jan 29, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 29, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 29, 2023
💔 -1 overall
This message was automatically generated. |
mosmeh
commented
Feb 8, 2023
@Apache9@frostruan Let's decide whether we want to keep the old metric information. I personally want to, as I think that is the consistent behavior with HBase 1.x. |
frostruan
commented
Feb 9, 2023
looks like a great improvement ! +1 |
Apache-HBase
commented
Feb 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 11, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 11, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 11, 2023
🎊 +1 overall
This message was automatically generated. |
Co-authored-by: Yuta Imazu <yuta.imazu@linecorp.com> Signed-off-by: Duo Zhang <zhangduo@apache.or (cherry picked from commit ef6a113)
Co-authored-by: Yuta Imazu <yuta.imazu@linecorp.com> Signed-off-by: Duo Zhang <zhangduo@apache.or (cherry picked from commit ef6a113)
Co-authored-by: Yuta Imazu <yuta.imazu@linecorp.com> Signed-off-by: Duo Zhang <zhangduo@apache.or (cherry picked from commit ef6a113)
Apache9
commented
Feb 28, 2023
@mosmeh Do you have an apache jira id so I can assign the jira to you? https://issues.apache.org/jira If not, please send an email to private@hbase.apache.org so I can create an jira account for you. Thanks. |
mosmeh
commented
Feb 28, 2023
Apache9
commented
Mar 1, 2023
Done. Thanks! |
https://issues.apache.org/jira/browse/HBASE-24781
Since #778,
refreshSourcesstopped callingmetrics.clear().However, some of the tasks in
clear(), including decrementingsizeOfLogQueue, still have to be performed byrefreshSources.