diff --git a/src/replication.cpp b/src/replication.cpp index 584c0c68c..df47cb91a 100644 --- a/src/replication.cpp +++ b/src/replication.cpp @@ -3745,7 +3745,7 @@ void syncWithMaster(connection *conn) { } /* Prepare a suitable temp file for bulk transfer */ - if (!useDisklessLoad() && !mi->isRocksdbSnapshotRepl) { + if (!useDisklessLoad() && !mi->isKeydbFastsync) { while(maxtries--) { auto dt = std::chrono::system_clock::now().time_since_epoch(); auto dtMillisecond = std::chrono::duration_cast(dt);