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

Vinayak Hegde updated HBASE-29441:
----------------------------------
    Summary: ReplicationSourceShipper should delegate the empty wal entries 
handling to ReplicationEndpoint  (was: ReplicationSourceShipper should return 
SUBMITTED instead of COMMITED for empty WAL batches)

> ReplicationSourceShipper should delegate the empty wal entries handling to 
> ReplicationEndpoint
> ----------------------------------------------------------------------------------------------
>
>                 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
>              Labels: pull-request-available
>
> 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