Skip to content
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

Support Reserve() in GraceJoin #11989

Open
lll-phill-lll opened this issue Nov 26, 2024 · 0 comments
Open

Support Reserve() in GraceJoin #11989

lll-phill-lll opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
area/runtime YDB runtime issues

Comments

@lll-phill-lll
Copy link
Member

lll-phill-lll commented Nov 26, 2024

The second step to fix the issue: #11412 (comment)

The goal is to reserve memory for the Join phase of GraceJoin using the method Reserve added here: #11988

GJ must try to reserve Reserve() smallTable*3 bytes before Join and switch to spilling in case of failure.
The suggested place to add the reserve call is:

if (IsSpillingAllowed && ctx.SpillerFactory && IsSwitchToSpillingModeCondition()) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/runtime YDB runtime issues
Projects
None yet
Development

No branches or pull requests

1 participant