[
https://issues.apache.org/jira/browse/HBASE-28860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth reassigned HBASE-28860:
-----------------------------------
Assignee: terrytlu
> Add a metric of the amount of data written to WAL to determine the pressure
> of replication
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-28860
> URL: https://issues.apache.org/jira/browse/HBASE-28860
> Project: HBase
> Issue Type: Improvement
> Reporter: terrytlu
> Assignee: terrytlu
> Priority: Major
> Labels: pull-request-available
>
> Add a metric of the amount of data written to WAL to determine the pressure
> of replication.
> Combined with the replication shipped size metric, the user can determine how
> many RegionServers are needed to meet the data(WAL) writing requirements,
> that is to achieve the goal of no replication lag.
>
> In the postAppend method of ReplicationSourceWALActionListener, the amount of
> WAL data that needs to be replicated is counted, and the filter logic in
> replication is reused.
> Alos add a hbase.replication.walAppendsize.metric.enable=false config to
> disable this metric, if it has some side effect.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)