-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](load) Fix potential data loss during disk migration #42296 #42387
[fix](load) Fix potential data loss during disk migration #42296 #42387
Conversation
The following operations may trigger this issue. 1. migration start 2. load start using old tablet,but wait migration lock in `RowsetBuilder::prepare_txn`. 3. migration finish, old tablet -> new tablet 4. obtained migration lock and commit successfully using old tablet. 5. publish failed using old tablet, because old tablet has been dropped. It cause the data loss. Therefore, after acquiring the migration lock, check if the tablet has already been shut down. If it has, it indicates that it is an old tablet, and data should not be imported into the old tablet.
run buildall |
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
TPC-H: Total hot run time: 48783 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 212302 ms
|
ClickBench: Total hot run time: 30.59 s
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
clang-tidy review says "All clean, LGTM! 👍" |
cherry pick from #42296