-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if all nodes have reported a persisted lsn before trimming the log
Until we can share partition processor snapshots between Restate nodes (e.g. by fetching them from S3), we can only trim the log if all known nodes have reached the trim point. Otherwise, we risk that a node that is currently not available needs log entries which were trimmed. One crucial assumption is that no new nodes will join the cluster once the first log trimming has happened. For this to work, we also need the sharing of partition processor snapshots. This fixes #1781.
- Loading branch information
1 parent
800c46c
commit 51075c1
Showing
1 changed file
with
155 additions
and
94 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