[ https://issues.apache.org/jira/browse/HBASE-29441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tak-Lon (Stephen) Wu resolved HBASE-29441. ------------------------------------------ Hadoop Flags: Reviewed Resolution: Fixed > 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 > Affects Versions: HBASE-28957 > Reporter: Vinayak Hegde > Assignee: Vinayak Hegde > Priority: Major > Labels: pull-request-available > Fix For: HBASE-28957 > > > 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)