qidaye opened a new pull request #6187:
URL: https://github.com/apache/incubator-doris/pull/6187


   ## Proposed changes
   
   When a delete error occurs, the error message is ambiguous.
   
   ```sql
   mysql> DELETE FROM nebula_trade_health_trade PARTITION q3_2021 WHERE 
event_day = '20210706';
   ERROR 1064 (HY000): errCode = 2, detailMessage = failed to execute delete. 
transaction id 7215554, timeout(ms) 160000, unfinished replicas: 
4718319=7345841, 4718319=7345873, 4718319=7345749, 4718319=7345797, 
4718319=7345829
   ```
   
   We do not kown the meaning of `4718319=7345829`.
   
   Actually the former is `BackendId` and the latter is `TabletId`.
   
   I'll add a instruction here to help locate the problem quickly. The error 
message will be 
   
   ```sql
   ERROR 1064 (HY000): errCode = 2, detailMessage = failed to execute delete. 
transaction id 7215554, timeout(ms) 160000, unfinished replicas 
[BackendId=TabletId]: 4718319=7345841, 4718319=7345873, 4718319=7345749, 
4718319=7345797, 4718319=7345829
   ```
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to