Fix DataCoord's meta may be broken with DataNode of prior version (#23030)

Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
yah01 2023-03-29 16:58:02 +08:00 committed by GitHub
parent a1d3030867
commit 73f1f15c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -469,7 +469,7 @@ func (s *Server) initGarbageCollection(cli storage.ChunkManager) {
}
func (s *Server) initServiceDiscovery() error {
r := semver.MustParseRange(">=2.1.2")
r := semver.MustParseRange(">=2.2.3")
sessions, rev, err := s.session.GetSessionsWithVersionRange(typeutil.DataNodeRole, r)
if err != nil {
log.Warn("DataCoord failed to init service discovery", zap.Error(err))