Skip to content

schedule leaf searches by (priority, remaining_splits) lexicographically - #6695

Draft
Abdul-Andha wants to merge 1 commit into
mainfrom
abdul.andha/query-priority
Draft

schedule leaf searches by (priority, remaining_splits) lexicographically#6695
Abdul-Andha wants to merge 1 commit into
mainfrom
abdul.andha/query-priority

Conversation

@Abdul-Andha

Copy link
Copy Markdown
Contributor

Description

Describe the proposed changes made in this PR.

How was this PR tested?

Describe how you tested this PR.


// Scheduling priority for leaf search execution. Negative values are allowed,
// and lower values have higher priority. Callers that omit it get priority 0.
optional int32 priority = 21;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
optional int32 priority = 21;
int32 priority = 21;

No need for optional if we want to default to 0. Unless we want to semantically differentiate None from Some(0)

// the raw IntermediateAggregationResults bytes instead.
bool skip_aggregation_finalization = 19;

reserved 20;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why reserve 20?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

20 is used in pomsky. it will be easier to sync if we don't use 20, i think

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