Skip to content

Commit 33cbeda

Browse files
committed
Preserve GC deletes according to local checkpoint
Models the fix implemented in elastic/elasticsearch#28790
1 parent f2fcecb commit 33cbeda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReplicaEngine/tla/ReplicaEngine.tla

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ begin
153153
while pc["Consumer"] /= "Done" do
154154
await /\ versionMap_entry /= NULL
155155
/\ versionMap_entry.type = DELETE
156+
/\ versionMap_entry.seqno <= localCheckPoint \* PR #28790
156157
/\ versionMap_entry.flushed = TRUE;
157158
versionMap_entry := NULL;
158159
end while;

0 commit comments

Comments
 (0)