MisterWang created HBASE-28620:
----------------------------------
Summary: replication quota leak when peer changes
Key: HBASE-28620
URL: https://issues.apache.org/jira/browse/HBASE-28620
Project: HBase
Issue Type: Bug
Components: Replication
Reporter: MisterWang
Shipper clearWALEntryBatch method timed out whilst waiting reader/shipper
thread to stop when peer changes. Not cleaning buffer usage.
When the amount of data written to the table in the peer is relatively large,
the quota is already full and has not been released, resulting in the wall
reader being unable to read new data.
The log is as follows:
2024-05-20 20:00:00,796 WARN
[RpcServer.default.FPRWQ.Fifo.read.handler=70,queue=1,port=16020]
regionserver.ReplicationSourceShipper: Shipper clearWALEntryBatch method timed
out whilst waiting reader/shipper thread to stop. Not cleaning buffer usage.
Shipper alive: peer1; Reader alive: false
2024-05-20 20:00:01,351 WARN peer=peer1, can't read more edits from WAL as
buffer usage 268435456B exceeds limit 268435456B
--
This message was sent by Atlassian Jira
(v8.20.10#820010)