xinyiZzz commented on code in PR #20771:
URL: https://github.com/apache/doris/pull/20771#discussion_r1245996829


##########
be/src/vec/sink/vtablet_sink.cpp:
##########
@@ -118,6 +118,8 @@ class OpenPartitionClosure : public 
google::protobuf::Closure {
                                                       
vnode_channel->channel_info(), ss.str()),
                                           -1);
         }
+        done = true;

Review Comment:
   一个 OpenPartitionClosure 的 done.run 只会有一个线程调把,我改下,看 ReusableClosure 也用的atomic



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