mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Add rev by one when start watch event (#6152)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
1c1ffc8b32
commit
dd3ba9b2b3
@ -211,7 +211,7 @@ func (s *Server) initServiceDiscovery() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
s.eventCh = s.session.WatchServices(typeutil.DataNodeRole, rev)
|
s.eventCh = s.session.WatchServices(typeutil.DataNodeRole, rev+1)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user