Skip to content

Commit

Permalink
Preserve GC deletes according to local checkpoint
Browse files Browse the repository at this point in the history
Models the fix implemented in
elastic/elasticsearch#28790
  • Loading branch information
DaveCTurner committed Mar 26, 2018
1 parent f2fcecb commit 33cbeda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ReplicaEngine/tla/ReplicaEngine.tla
Expand Up @@ -153,6 +153,7 @@ begin
while pc["Consumer"] /= "Done" do
await /\ versionMap_entry /= NULL
/\ versionMap_entry.type = DELETE
/\ versionMap_entry.seqno <= localCheckPoint \* PR #28790
/\ versionMap_entry.flushed = TRUE;
versionMap_entry := NULL;
end while;
Expand Down

0 comments on commit 33cbeda

Please sign in to comment.