Zhangshunyu commented on pull request #3947:
URL: https://github.com/apache/carbondata/pull/3947#issuecomment-697078961


   Consider a scenario that user want to insert data and then update the table, 
the dml command is in time series which is sent 1 by 1, but the 2nd(update) cmd 
is sent by another driver and start to execute while the 1st(insert) is still 
in running, so it comes to the concurrent scenario described in this pr.
   If we allow update table who has segment with status 'INSERT_INPROGRESS', 
the 2nd cmd(update) will be executed successfully and the data inserted by the 
1st cmd would not updated by the 2nd cmd.
   Maybe in this scenario the result is not what the user expected.


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


Reply via email to