Uh oh!
There was an error while loading. Please reload this page.
HBASE-27885 expose metaCacheHits in MetricsConnection - #5253
Conversation
Apache-HBase
commented
May 24, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 24, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 24, 2023
🎊 +1 overall
This message was automatically generated. |
NihalJain
commented
May 25, 2023
Hi @frostruan thanks for the PR. Is it possible for you to add a call to validate the exposed metric |
frostruan
commented
May 25, 2023
Ok. Will Address it ASAP. Thanks for the reviewing. |
frostruan
commented
May 25, 2023
Hi @NihalJain A test case has been added. Would you mind seeing if this is what you were expecting in your free time ? |
Apache-HBase
commented
May 25, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 25, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 25, 2023
🎊 +1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
| // for 0th iteration there will be 5 hits + 1 cache miss. | ||
| assertEquals(initialMetaCacheHits + 6 * i + 5, metrics.getMetaCacheHits()); | ||
| // We will get a cache miss only on the first request, so the value will always be 1. | ||
| assertEquals(1, metrics.getMetaCacheMisses()); |
There was a problem hiding this comment.
Init getMetaCacheMisses too before asserting similar to initialMetaCacheHits? Thanks for the quick review addressal :)
There was a problem hiding this comment.
Would you mind taking a look on the newest commit and seeing if this is what you were expecting in your free time ? REALLY thanks for your patience ! :)
Apache-HBase
commented
May 27, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 27, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 27, 2023
🎊 +1 overall
This message was automatically generated. |
Hi @frostruan thanks for addressing the comments. Just a query do you think this patch would be still useful since you have already raised a better solution at HBASE-27890/#5257? Also could you please see if the patch does not introduce a spotless issue? I see pre checks failing. |
frostruan
commented
Jun 1, 2023
Thank you for your attention to this PR. I will address this issue together in https://issues.apache.org/jira/browse/HBASE-27890. Thanks again for your help :) |
Apache9
commented
Sep 6, 2025
Since we do not continue the work on HBASE-27890, do we still need this change? @frostruan Thanks. |
frostruan
commented
Sep 6, 2025
This MR can be closed too. Let me close it. Thanks. |
No description provided.