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/12/28 07:11:43 UTC

[GitHub] [incubator-doris] 924060929 opened a new issue #5161: [BUG] Follower shouldn't forward non-query statement to master repeatedly

924060929 opened a new issue #5161:
URL: https://github.com/apache/incubator-doris/issues/5161


   **Describe the bug**
   In this case: Follower forward a `insert into` statement to Master, if network interrupted, follower will retry send `insert into` statement in `MasterOpExecutor#forward`, though Master could insert succes at first time, this will cause the data repeat 2 times.
   
   So, wo can retry forward if and only if statement is `QueryStatement`.
   
   **To Reproduce**
   Add some breakpoint in `FrontendService#forward`, wait response then and manual throw TTransportException
   
   **Expected behavior**
   `Insert into` statement execute success multi times
   
   **Screenshots**
   None
   
   **Desktop (please complete the following information):**
   None
   
   **Smartphone (please complete the following information):**
   None
   
   **Additional context**
   None
   


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



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