diff --git a/src/db.cpp b/src/db.cpp index 383637454..a04b5700e 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -3086,7 +3086,6 @@ void redisDbPersistentData::commitChanges(const redisDbPersistentDataSnapshot ** *psnapshotFree = m_pdbSnapshotStorageFlush; m_pdbSnapshotStorageFlush = nullptr; } - if (m_spstorage != nullptr) { auto *tok = m_spstorage->begin_endWriteBatch(serverTL->el, storageLoadCallback);