924060929 opened a new pull request #5160: URL: https://github.com/apache/incubator-doris/pull/5160
## Proposed changes 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`. ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) - [] New feature (non-breaking change which adds functionality) - [] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [] Documentation Update (if none of the other choices apply) - [] Code refactor (Modify the code structure, format the code, etc...) ## Checklist - [] I have create an issue on (Fix #ISSUE), and have described the bug/feature there in detail - [x] Compiling and unit tests pass locally with my changes - [] I have added tests that prove my fix is effective or that my feature works - [] If this change need a document change, I have updated the document - [] Any dependent changes have been merged ## Further comments 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
