-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tx/rm_stm: remove mem_state::estimated
'estimated' was used as an estimate for the first data batch offset (so LSO cannot exceed it) while replication is in progress. This is the last in memory state that is pending for cleanup. This commit redefines the transacation boundary to begin from fence batch rather the first data batch which allows us to get rid of this additional state which lays the foundation for producer state move.
- Loading branch information
Showing
2 changed files
with
10 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters