mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Set sync type
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
This commit is contained in:
parent
a32cd72ba9
commit
559c160dd7
4
.gitignore
vendored
4
.gitignore
vendored
@ -27,6 +27,10 @@ proxy/cmake_build
|
||||
proxy/cmake-build-debug
|
||||
proxy/thirdparty/grpc-src
|
||||
proxy/thirdparty/grpc-build
|
||||
proxy/milvus/
|
||||
proxy/milvus/*
|
||||
proxy/suvlim/
|
||||
proxy/suvlim/*
|
||||
|
||||
# Compiled source
|
||||
*.a
|
||||
|
||||
@ -31,8 +31,7 @@ TimeSync::TimeSync(int64_t id,
|
||||
for (;;) {
|
||||
if (this->stop_) break;
|
||||
this->sync_msg_.set_timestamp(this->timestamp_());
|
||||
//TODO, set msg type
|
||||
//this->sync_msg_.set_msgtype();
|
||||
this->sync_msg_.set_sync_type(milvus::grpc::READ);
|
||||
auto rst = producer.send(sync_msg_.SerializeAsString());
|
||||
if (rst != pulsar::ResultOk) {
|
||||
//TODO, add log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user