mirror of https://github.com/milvus-io/milvus.git
Add rev by one when start watch event (#6152)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/6190/head
parent
1c1ffc8b32
commit
dd3ba9b2b3
|
@ -211,7 +211,7 @@ func (s *Server) initServiceDiscovery() error {
|
|||
return err
|
||||
}
|
||||
|
||||
s.eventCh = s.session.WatchServices(typeutil.DataNodeRole, rev)
|
||||
s.eventCh = s.session.WatchServices(typeutil.DataNodeRole, rev+1)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue