-
Notifications
You must be signed in to change notification settings - Fork 638
KIKIMR-22120: Take partitioning description of copied table in s3 export #13067
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
KIKIMR-22120: Take partitioning description of copied table in s3 export #13067
Conversation
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
// Add delay after copying tables | ||
bool dropNotification = false; | ||
THolder<IEventHandle> delayed; | ||
auto prevObserver = runtime.SetObserverFunc([&](TAutoPtr<IEventHandle>& ev) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть TBlockEvent
, возможно, его будет удобнее использовать.
if (!delayed) { | ||
TDispatchOptions opts; | ||
opts.FinalEvents.emplace_back([&delayed](IEventHandle&) -> bool { | ||
return bool(delayed); | ||
}); | ||
runtime.DispatchEvents(opts); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть хелпер runtime.WaitFor
.
Changelog entry
Fixes creating unrestorable S3 backups when splitting and merging the table
Changelog category