You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/09/16 13:49:00 UTC

[jira] [Updated] (HBASE-30396) Release inflight buffer when replication source terminates

     [ https://issues.apache.org/jira/browse/HBASE-30396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HBASE-30396:
-----------------------------------
    Labels: pull-request-available  (was: )

> Release inflight buffer when replication source terminates
> ----------------------------------------------------------
>
>                 Key: HBASE-30396
>                 URL: https://issues.apache.org/jira/browse/HBASE-30396
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>            Reporter: huginn
>            Priority: Major
>              Labels: pull-request-available
>
> When a replication source terminates while a WAL entry batch is in flight, its buffer quota can remain accounted indefinitely.
> ReplicationSourceShipper.shipEdits polls a WALEntryBatch from the reader queue. The buffer quota is released after successful shipping through postShipEdits; if the worker stops before successful shipping, the batch is no longer in the reader queue and cleanup cannot release its quota.
> Track whether the polled batch was released by successful shipping and release the batch quota after the shipping loop when it was not successfully shipped. Add a regression test for a stopped shipper holding an in-flight batch.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)