finish writing snapshot

This commit is contained in:
2024-05-05 14:35:35 +00:00
parent 389a8b48a7
commit bda26eb2ce
3 changed files with 119 additions and 1 deletions

View File

@ -93,6 +93,7 @@ class DiskMap : public DataDriverBase {
return true;
}
void Flush() {
if (indexer == nullptr) return;
indexer->Flush();
data_storage->Flush();
}