diff --git a/src/server/dfly_main.cc b/src/server/dfly_main.cc index 829666d08608..9ebc3927925d 100644 --- a/src/server/dfly_main.cc +++ b/src/server/dfly_main.cc @@ -203,6 +203,10 @@ bool VersionMonitor::IsVersionOutdated(const std::string_view remote, if (remote_x > current_x) { return true; } + + if (remote_x < current_x) { + return false; + } } return false;