diff --git a/src/storage/db/storage_db_snapshot.c b/src/storage/db/storage_db_snapshot.c index 5ca7d15f..21554fdb 100644 --- a/src/storage/db/storage_db_snapshot.c +++ b/src/storage/db/storage_db_snapshot.c @@ -366,6 +366,9 @@ bool storage_db_snapshot_rdb_prepare( if (snapshot_fd > 0) { close(snapshot_fd); } + + db->snapshot.in_preparation = false; + MEMORY_FENCE_STORE(); } return result;