Skip to content

NGSOK-1265 Allow to use * in expected_executor_group_sets#11

Open
giggsoff wants to merge 1 commit into4.5.0-developfrom
feature/NGSOK-1265
Open

NGSOK-1265 Allow to use * in expected_executor_group_sets#11
giggsoff wants to merge 1 commit into4.5.0-developfrom
feature/NGSOK-1265

Conversation

@giggsoff
Copy link
Collaborator

The logic will populate all healthy executor groups into Frontend to decide which one to use there.

@giggsoff giggsoff self-assigned this Feb 18, 2026
@giggsoff giggsoff requested a review from Asmoday February 18, 2026 07:15
} else {
if (FLAGS_expected_executor_group_sets == "*") {
LOG(INFO) <<
"Special case handling for FLAGS_expected_executor_group_sets == “*“";
Copy link
Collaborator

@Asmoday Asmoday Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this compile?

Suggested change
"Special case handling for FLAGS_expected_executor_group_sets == “*“";
LOG(INFO) << "Special case handling for FLAGS_expected_executor_group_sets == \"*\"";

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will as I use another quotes instead of ". But let me use your suggestion.

LOG(INFO) <<
"Special case handling for FLAGS_expected_executor_group_sets == “*“";
for (const auto& it : snapshot->executor_groups) {
exec_group_sets.emplace(exec_group_sets.begin());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

begin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works, but you are right, the order does not matter, so let me use emplace_back.

"in each group) is used during planning when no healthy executor group is available. "
"If this flag is used then any executor groups that do not map to the specified group"
" sets will never be used to schedule queries.");
" sets will never be used to schedule queries. If tris flag set to “*“ will populate "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
" sets will never be used to schedule queries. If tris flag set to “*“ will populate "
" sets will never be used to schedule queries. If this flag set to “*“ will populate "

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, fixed.

The logic will populate all executor groups into Frontend to decide which one to use there.

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments