mirror of https://github.com/milvus-io/milvus.git
Fix conflict when choosing pulsar producer
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/4973/head^2
parent
fa3954eb0e
commit
086d7849ec
|
@ -192,7 +192,9 @@ Status MsgClientV2::SendMutMessage(const milvus::grpc::InsertParam &request,
|
|||
mut_msg.set_collection_name(request.collection_name());
|
||||
mut_msg.set_partition_tag(request.partition_tag());
|
||||
uint64_t uid = request.entity_id_array(i);
|
||||
auto channel_id = makeHash(&uid, sizeof(uint64_t)) % topic_num;
|
||||
// auto channel_id = makeHash(&uid, sizeof(uint64_t)) % topic_num;
|
||||
//TODO:: don't prove the correction
|
||||
auto channel_id = this_thread;
|
||||
try {
|
||||
mut_msg.set_segment_id(segment_id(request.collection_name(), channel_id, timestamp));
|
||||
mut_msg.mutable_rows_data()->CopyFrom(request.rows_data(i));
|
||||
|
|
Loading…
Reference in New Issue