You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/03/13 07:25:49 UTC

[GitHub] [incubator-doris] morningman opened a new issue #3102: [Insert] Encounter label already exist exception

morningman opened a new issue #3102: [Insert] Encounter label already exist exception
URL: https://github.com/apache/incubator-doris/issues/3102
 
 
   **Describe the bug**
   When executing insert stmt with label like:
   
   ```
   insert into tbl with label abc select 1,2;
   ```
   
   If first execution encounter some exception like `tablet xxx has few replica`, then if we execute with same label again, we will meet exception:
   
   ```
   ERROR 1064 (HY000): errCode = 2, detailMessage = Label [abc] has already been used.
   ```
   
   Which is unexpected.
   
   **Why**
   
   Because the first exception is thrown in analysis phase, and we didn't abort the transaction of this insert operation when encountering analysis exception.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] chaoyli closed issue #3102: [Insert] Encounter label already exist exception

Posted by GitBox <gi...@apache.org>.
chaoyli closed issue #3102: [Insert] Encounter label already exist exception
URL: https://github.com/apache/incubator-doris/issues/3102
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org