diff --git a/fdbserver/TagPartitionedLogSystem.actor.cpp b/fdbserver/TagPartitionedLogSystem.actor.cpp index 7e87e3e2012..e4fb9000142 100644 --- a/fdbserver/TagPartitionedLogSystem.actor.cpp +++ b/fdbserver/TagPartitionedLogSystem.actor.cpp @@ -2330,7 +2330,7 @@ Optional> getRecoverVersionUnicast( bool nonAvailableTLogsCompletePolicy = std::get<2>(logGroupResults); Version prevVersion = maxKCV; for (auto const& [version, tLogs] : versionAllTLogs) { - if (!(prevVersion == maxKCV || prevVersion == prevVersionMap[version])) { + if (prevVersion != prevVersionMap[version]) { break; } // This version is not recoverable if there is a log server (LS) such that: