Repository navigation
Avoid primary manager when assigning Fate and Compaction work - #6631
Draft
keith-turner wants to merge 17 commits into
Draft
keith-turner wants to merge 17 commits into
keith-turner wants to merge 17 commits into
Conversation
For an overview of how this works see the javadoc in CompactionCoordinator.
…n/CoordinatorLocationsFactory.java Co-authored-by: Dave Marion <dlmarion@apache.org>
revert changes in 9af4fdd as it broke clearing uneeded compaction jobs. CompactionPriorityQueueMetricsIT.testCompactionQueueClearedWhenNotNeeded() was failing
When there is more than one manager process this change will avoid assigning Fate and compaction coordinatoin to the primary manager. The primary manager does a lot of work with balancing and the tablet group watcher, with this change it can focus on that while other manager processes do Fate and compaction coordination.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When there is more than one manager process this change will avoid
assigning Fate and compaction coordinatoin to the primary manager.
The primary manager does a lot of work with balancing and the tablet
group watcher, with this change it can focus on that while other
manager processes do Fate and compaction coordination.
Opening this as a draft because it builds on unmerged changes from #6324. This is a small change if #6324 is merged.