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

Fix #1764 Parallelize listcompactions in shell #1783

Merged
merged 2 commits into from
Nov 19, 2020

Conversation

ctubbsii
Copy link
Member

Replace ActiveCompactionIterator with ActiveCompactionHelper that
parallelizes calls to InstanceOperations.getActiveCompactions() in
support of a more efficient listcompactions command in the shell.

@ctubbsii ctubbsii added the enhancement This issue describes a new feature, improvement, or optimization. label Nov 16, 2020
@ctubbsii ctubbsii self-assigned this Nov 16, 2020
Replace `ActiveCompactionIterator` with `ActiveCompactionHelper` that
parallelizes calls to `InstanceOperations.getActiveCompactions()` in
support of a more efficient `listcompactions` command in the shell.
@ctubbsii ctubbsii force-pushed the active-compaction-parallelize-1764 branch from b8cbcde to 0e57813 Compare November 16, 2020 21:09
@ctubbsii
Copy link
Member Author

@keith-turner I'm not sure how many threads it should use.

@ctubbsii ctubbsii merged commit a7a96b8 into apache:main Nov 19, 2020
@ctubbsii ctubbsii deleted the active-compaction-parallelize-1764 branch November 19, 2020 22:57
@ctubbsii ctubbsii modified the milestones: 3.1.0, 2.1.0 Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parallelize calls to InstanceOperations.getActiveCompactions() in listcompactions shell command
2 participants