Skip to content

Commit 37f41d1

Browse files
committed
restore: snapwm txn_active zero
1 parent 5c18593 commit 37f41d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/discof/restore/fd_snapwm_tile_vinyl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ fd_snapwm_vinyl_txn_commit( fd_snapwm_tile_t * ctx,
463463
vinyl_mm_sync( ctx );
464464

465465
ctx->vinyl.txn_commit = 1;
466+
ctx->vinyl.txn_active = 0;
466467

467468
dt += fd_log_wallclock();
468469
FD_LOG_INFO(( "vinyl txn_commit took %g seconds", (double)dt/1e9 ));
@@ -476,6 +477,7 @@ fd_snapwm_vinyl_txn_cancel( fd_snapwm_tile_t * ctx ) {
476477
fd_vinyl_io_t * io = ctx->vinyl.io_mm;
477478
fd_vinyl_io_rewind( io, ctx->vinyl.txn_seq );
478479
fd_vinyl_io_sync ( io, FD_VINYL_IO_FLAG_BLOCKING );
480+
ctx->vinyl.txn_active = 0;
479481
}
480482

481483
/* Fast writer ********************************************************/

0 commit comments

Comments
 (0)