EmmyMiao87 opened a new pull request #1504: Fix the duplicated request bug of 
mini load
URL: https://github.com/apache/incubator-doris/pull/1504
 
 
   The function of miniLoadBegin will return the txn_id.
   If the backend sends the duplicated request to frontend, frontend will 
return the txn_id which was created by the same mini load.
   
   The issue is that frontend returns the txn_id when the last same request 
hasn't been begun the txn.
   The frontend returns the zero which is initialized txn_id and the be could 
not execute the load plan with a error txn_id.
   
   The commit conbines the `createLoadJob` and `execute` together in the write 
lock. It protects the atomicity of `create` and `beginTxn`.
   So the duplicated request cannot get the txn id before the last same request 
is finished.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to