Details
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.