Fix 1.3 version don't report server status to lower version.

This commit is contained in:
KomachiSion 2020-06-04 15:09:18 +08:00
parent f71c5d85c9
commit 3e37ac4bf2

View File

@ -210,7 +210,8 @@ public class ServerListManager implements MemberChangeListener {
// This metadata information exists from 1.3.0 onwards "version"
if (server.getExtendVal(MemberMetaDataConstants.VERSION) != null) {
return;
Loggers.SRV_LOG.debug("[SERVER-STATUS] target {} has extend val {} = {}, use new api report status", server.getAddress(), MemberMetaDataConstants.VERSION, server.getExtendVal(MemberMetaDataConstants.VERSION));
continue;
}
Message msg = new Message();
@ -228,4 +229,4 @@ public class ServerListManager implements MemberChangeListener {
}
}
}
}