[
https://issues.apache.org/jira/browse/HBASE-25679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rushabh Shah updated HBASE-25679:
---------------------------------
Description:
In HBASE-25539 I did some refactoring for adding a new metric "oldestWalAge"
and tried to consolidate update to all the metrics related to ReplicationSource
class (size of log queue and oldest wal age) at one place. In that refactoring
introduced one bug where I am decrementing twice from size of log queue metric
whenever we remove a wal from Replication source queue.
was:
In HBASE-25539 I did some refactoring for adding a new metric "oldestWalAge"
and tried to consolidate update to all the metrics related to ReplicationSource
class (size of log queue and oldest wal age) at one place. In that refactoring
introduced one bug where I am decrementing twice from size of log queue metric
whenever we remove a wal from Replication source queue.
We need to fix this only in branch-1.
> Size of log queue metric is incorrect in branch-1/branch-2
> ----------------------------------------------------------
>
> Key: HBASE-25679
> URL: https://issues.apache.org/jira/browse/HBASE-25679
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 1.7.0
> Reporter: Rushabh Shah
> Assignee: Rushabh Shah
> Priority: Major
>
> In HBASE-25539 I did some refactoring for adding a new metric "oldestWalAge"
> and tried to consolidate update to all the metrics related to
> ReplicationSource class (size of log queue and oldest wal age) at one place.
> In that refactoring introduced one bug where I am decrementing twice from
> size of log queue metric whenever we remove a wal from Replication source
> queue.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)