mirror of https://github.com/milvus-io/milvus.git
Refresh etcd source config with Searializable option (#23954)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/23962/head
parent
f6d3b4f7ac
commit
de4b4dafef
|
@ -133,7 +133,7 @@ func (es *EtcdSource) refreshConfigurations() error {
|
|||
|
||||
ctx, cancel := context.WithTimeout(es.ctx, ReadConfigTimeout)
|
||||
defer cancel()
|
||||
response, err := es.etcdCli.Get(ctx, prefix, clientv3.WithPrefix())
|
||||
response, err := es.etcdCli.Get(ctx, prefix, clientv3.WithPrefix(), clientv3.WithSerializable())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue