@@ -322,7 +322,6 @@ public override void GlobalBeforeEnteringState<Key, Value>(SystemState next, Fas
322
322
case Phase . WAIT_FLUSH :
323
323
base . GlobalBeforeEnteringState ( next , faster ) ;
324
324
faster . _hybridLogCheckpoint . info . finalLogicalAddress = faster . hlog . GetTailAddress ( ) ;
325
- faster . _hybridLogCheckpoint . info . snapshotStartFlushedLogicalAddress = faster . hlog . FlushedUntilAddress ;
326
325
327
326
if ( faster . _hybridLogCheckpoint . deltaLog == null )
328
327
{
@@ -337,7 +336,7 @@ public override void GlobalBeforeEnteringState<Key, Value>(SystemState next, Fas
337
336
// resuming epoch protection if necessary. Correctness is not affected as we will
338
337
// only read safe pages during recovery.
339
338
faster . hlog . AsyncFlushDeltaToDevice (
340
- faster . _hybridLogCheckpoint . info . snapshotStartFlushedLogicalAddress ,
339
+ faster . hlog . FlushedUntilAddress ,
341
340
faster . _hybridLogCheckpoint . info . finalLogicalAddress ,
342
341
faster . _lastSnapshotCheckpoint . info . finalLogicalAddress ,
343
342
faster . _hybridLogCheckpoint . prevVersion ,
@@ -346,8 +345,6 @@ public override void GlobalBeforeEnteringState<Key, Value>(SystemState next, Fas
346
345
faster . ThrottleCheckpointFlushDelayMs ) ;
347
346
break ;
348
347
case Phase . PERSISTENCE_CALLBACK :
349
- // Set actual FlushedUntil to the latest possible data in main log that is on disk
350
- faster . _hybridLogCheckpoint . info . flushedLogicalAddress = faster . hlog . FlushedUntilAddress ;
351
348
CollectMetadata ( next , faster ) ;
352
349
faster . WriteHybridLogIncrementalMetaInfo ( faster . _hybridLogCheckpoint . deltaLog ) ;
353
350
faster . _hybridLogCheckpoint . info . deltaTailAddress = faster . _hybridLogCheckpoint . deltaLog . TailAddress ;
0 commit comments