HappenLee commented on code in PR #62054:
URL: https://github.com/apache/doris/pull/62054#discussion_r3048853895


##########
be/src/exec/operator/exchange_sink_operator.cpp:
##########
@@ -223,7 +223,8 @@ void 
ExchangeSinkLocalState::on_channel_finished(InstanceLoId channel_id) {
         return;
     } else {
         _finished_channels.emplace(channel_id);
-        if (_working_channels_count.fetch_sub(1) == 1) {

Review Comment:
   old code seems more clearer.  the new code look wired



-- 
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]

Reply via email to