-
Notifications
You must be signed in to change notification settings - Fork 638
YQL-17542 pass allocator from ComputeActor to TaskRunnerActor #1445
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
YQL-17542 pass allocator from ComputeActor to TaskRunnerActor #1445
Conversation
⚪
|
⚪
|
std::make_shared<NKikimr::NMiniKQL::TScopedAlloc>( | ||
__LOCATION__, | ||
NKikimr::TAlignedPagePoolCounters(), | ||
true, |
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.
Вкусовщина, но я бы добавил inline комменты с именами параметров для этих булевых значений.
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.
И еще вопрос, хотя worker_actor планируется вообще выпилить. но FuncRegistry.SupportsSizedAllocators() всегда true выдает?
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.
Не знаю, но не стал тут усложнять. Тесты проходят, а до конца недели я надеюсь выпилить TDqWorkerActor. Уже даже PR есть: https://github.com/ydb-platform/ydb/pulls/zverevgeny
pr over contrib: https://a.yandex-team.ru/review/5255605/details