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

Bump default fault tolerant task memory #11419

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

losipiuk
Copy link
Member

No release notes/docs needed (docs is upcoming as a separate PR)

@cla-bot cla-bot bot added the cla-signed label Mar 10, 2022
@losipiuk losipiuk force-pushed the lo/fault-tolerant-task-memory-fixes branch 2 times, most recently from 7c46a08 to 63de1f3 Compare March 10, 2022 17:20

// enforced against user memory allocations
private DataSize maxQueryMemory = DataSize.of(20, GIGABYTE);
// enforced against user + system memory allocations (default is maxQueryMemory * 2)
private DataSize maxQueryTotalMemory;
private DataSize faultTolerantTaskMemory = DataSize.of(1, GIGABYTE);
private DataSize faultTolerantExecutionTaskMemory = DataSize.of(4, GIGABYTE);
Copy link
Member Author

Choose a reason for hiding this comment

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

Ideally it would be to define it as a fraction of worker heap but we do not have this information on coordinator statically available. Also every worker can be of different size theoretically.

@losipiuk losipiuk requested a review from arhimondr March 10, 2022 17:21
@losipiuk losipiuk force-pushed the lo/fault-tolerant-task-memory-fixes branch 2 times, most recently from d8a12b1 to 2b25342 Compare March 10, 2022 22:48
@losipiuk losipiuk requested a review from arhimondr March 10, 2022 22:48
@losipiuk
Copy link
Member Author

@arhimondr PTAL once again. I needed to make a fix. Hope test will be green now.

@losipiuk losipiuk force-pushed the lo/fault-tolerant-task-memory-fixes branch from 2b25342 to 190622a Compare March 10, 2022 23:07
If task memory requirements exceed memory capacity of any node in the
cluster treat such task as if it would request full node.
Default value (4GB) does not match test environment well and would
effectively require full node for each task.
@losipiuk losipiuk force-pushed the lo/fault-tolerant-task-memory-fixes branch from 190622a to b7f76a4 Compare March 11, 2022 13:50
@losipiuk
Copy link
Member Author

@losipiuk
Copy link
Member Author

CI already fixed on master

@losipiuk losipiuk merged commit eb61a7a into trinodb:master Mar 15, 2022
@github-actions github-actions bot added this to the 374 milestone Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants