You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Chandra Sekhar K (Jira)" <ji...@apache.org> on 2025/05/01 06:54:00 UTC
[jira] [Updated] (HBASE-29283) Replication MetricsSource.sizeOfHFileRefsQueue metrics not updated correctly after remove_peer
[ https://issues.apache.org/jira/browse/HBASE-29283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chandra Sekhar K updated HBASE-29283:
-------------------------------------
Description:
in Replication MetricsSource, the value of lastHFileRefsQueueSize not incremented correctly, due to this the corresponding decrement in decrSizeOfHFileRefsQueue functions resulting in wrong value.
{code:java}
public void incrSizeOfHFileRefsQueue(long size) {
singleSourceSource.incrSizeOfHFileRefsQueue(size);
globalSourceSource.incrSizeOfHFileRefsQueue(size);
lastHFileRefsQueueSize = size; //issue here as the value not appended with previous value
}{code}
was:
in Replication MetricsSource, the value of lastHFileRefsQueueSize not incremented correctly, due to this the corresponding decrement in decrSizeOfHFileRefsQueue functions resulting in wrong value.
{code:java}
public void incrSizeOfHFileRefsQueue(long size) {
singleSourceSource.incrSizeOfHFileRefsQueue(size);
globalSourceSource.incrSizeOfHFileRefsQueue(size);
lastHFileRefsQueueSize = size; //issue here as the value not increment with previous value
}{code}
> Replication MetricsSource.sizeOfHFileRefsQueue metrics not updated correctly after remove_peer
> ----------------------------------------------------------------------------------------------
>
> Key: HBASE-29283
> URL: https://issues.apache.org/jira/browse/HBASE-29283
> Project: HBase
> Issue Type: Bug
> Reporter: Chandra Sekhar K
> Priority: Major
>
> in Replication MetricsSource, the value of lastHFileRefsQueueSize not incremented correctly, due to this the corresponding decrement in decrSizeOfHFileRefsQueue functions resulting in wrong value.
>
> {code:java}
> public void incrSizeOfHFileRefsQueue(long size) {
> singleSourceSource.incrSizeOfHFileRefsQueue(size);
> globalSourceSource.incrSizeOfHFileRefsQueue(size);
> lastHFileRefsQueueSize = size; //issue here as the value not appended with previous value
> }{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)