kaijchen opened a new pull request, #26108:
URL: https://github.com/apache/doris/pull/26108

   ## Proposed changes
   
   Fix concurrency issue where some delta writer meets "close after closed" 
issue.
   Because some sink may be closed before other sinks to be opened,
   the reference count dropps to 0 and the pool is closed.
   
   To fix the problem, we should init delta writer pool in sink prepare.
   Because there is a barrier between prepare and open.
   All the sinks should have been prepared before any of them may close.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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