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

Work on HBASE-29441 started by Vinayak Hegde.
---------------------------------------------
> ReplicationSourceShipper should return SUBMITTED instead of COMMITED for 
> empty WAL batches
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-29441
>                 URL: https://issues.apache.org/jira/browse/HBASE-29441
>             Project: HBase
>          Issue Type: Task
>            Reporter: Vinayak Hegde
>            Assignee: Vinayak Hegde
>            Priority: Major
>
> In {{{}ReplicationSourceShipper#shipEdits{}}}, we currently return 
> {{COMMITED}} when the WAL entry list is empty. This can incorrectly advance 
> replication offsets, especially if previously submitted entries were not yet 
> durably persisted (e.g., still in open WAL files on S3).
> We should return {{SUBMITTED}} in such cases and only return {{COMMITED}} 
> when we know data is safely persisted, like on WAL close.



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

Reply via email to