zclllyybb commented on code in PR #34740:
URL: https://github.com/apache/doris/pull/34740#discussion_r1601184380
##########
be/src/runtime/tablets_channel.cpp:
##########
@@ -142,9 +142,16 @@ Status BaseTabletsChannel::open(const
PTabletWriterOpenRequest& request) {
RETURN_IF_ERROR(_schema->init(request.schema()));
_tuple_desc = _schema->tuple_desc();
- _num_remaining_senders = request.num_senders();
- _next_seqs.resize(_num_remaining_senders, 0);
- _closed_senders.Reset(_num_remaining_senders);
+ int max_sender = request.num_senders();
+ // this tablets channel created by inc_open: open times = how many sender
instance know this tablets channel.
Review Comment:
add comment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]