tasier commented on PR #15270:
URL: 
https://github.com/apache/dolphinscheduler/pull/15270#issuecomment-3051286299

   💥 Issue Summary
   We observed a case of duplicate process instance creation due to concurrent 
command consumption across masters.
   
   🧪 Root Cause
   The method performTransactionalUpsert is executed within a new transaction, 
which does not participate in the caller's transactional context.
   
   A slot reallocation caused the same command to be consumed by two different 
master nodes simultaneously.
   
   Both masters attempted to delete the command concurrently:
   
   One deletion succeeded.
   
   The other failed due to the record already being removed.
   
   Despite the deletion conflict, both transactions independently persisted a 
process instance into MySQL, resulting in duplicate instances.


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

Reply via email to