Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc committed Mar 8, 2025
1 parent 76430c1 commit 7b7bec5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public override void GlobalBeforeEnteringState(SystemState next, StateMachineDri
switch (next.Phase)
{
case Phase.PREPARE:
base.GlobalBeforeEnteringState(next, stateMachineDriver);
store._lastSnapshotCheckpoint.Dispose();
store._hybridLogCheckpointToken = guid;
store.InitializeHybridLogCheckpoint(store._hybridLogCheckpointToken, next.Version);
Expand All @@ -40,6 +41,7 @@ public override void GlobalBeforeEnteringState(SystemState next, StateMachineDri
break;

case Phase.WAIT_FLUSH:
base.GlobalBeforeEnteringState(next, stateMachineDriver);
var finalLogicalAddress = store.hlogBase.GetTailAddress();
store.StreamingSnapshotScanPhase2(finalLogicalAddress);
break;
Expand Down

0 comments on commit 7b7bec5

Please sign in to comment.