yujun777 opened a new pull request, #30546: URL: https://github.com/apache/doris/pull/30546
pick: #29887 Tablet migrate disk may cause lost data. For example, suppose the old tablet's version is 10, it's just publish txn on version 11. At then comes a migrate disk task. After the old tablet just finish publish txn 11, but before it add rowset( version = 11). For the migrating task, the old tablet had no txn now, so the new tablet will copy the old tablet's data(old tablet's version is still 10). After copying, it will delete the old tablet, and replace it with the new tablet. So data whose version is 11 will be lost. ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
