Skip to content

Distributes compaction coordination across managers - #6324

Open
keith-turner wants to merge 27 commits into
apache:mainfrom
keith-turner:dist-coord2
Open

keith-turner wants to merge 27 commits into
apache:mainfrom
keith-turner:dist-coord2

Conversation

@keith-turner

Copy link
Copy Markdown
Contributor

For an overview of how this works see the javadoc in CompactionCoordinator.

For an overview of how this works see the javadoc in
CompactionCoordinator.
@keith-turner keith-turner added this to the 4.0.0 milestone Apr 17, 2026
@keith-turner

Copy link
Copy Markdown
Contributor Author

This PR squashed all the changes from #6217 in to a single commit. Opened a new PR because that one has a lot of noise. A lot of prerequisite changes were made for this change and those are all linked to #6217.

sleepTime = maxSleepTime;
}

UtilWaitThread.sleep(sleepTime);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We might need a property here like the TABLE_SUSPEND_DURATION, but for Coordinators. There is a case where we don't want to be too responsive to a Manager going away and coming back. Bouncing the Manager sometimes clears up some state issues. I would think that we only want to recompute the group assignments if the number of compaction groups has changed or the number of managers has changed, and then only after some suspend duration.

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.

That makes sense. For our ITs we want this to be really responsive, but on a real system having it take its time when there is volatility would probably be good.

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.

Updated in 34a18b8

keith-turner and others added 2 commits April 23, 2026 15:26
…n/CoordinatorLocationsFactory.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
@ctubbsii ctubbsii modified the milestones: 4.0.0-alpha-1, 4.0.0 Sep 24, 2026
@keith-turner

Copy link
Copy Markdown
Contributor Author

All ITs are passing for b54ed2a

keith-turner and others added 11 commits November 5, 2026 15:39
…ction/coordinator/CompactionCoordinator.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…ction/coordinator/CompactionCoordinator.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…ction/coordinator/CompactionCoordinator.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…ction/coordinator/CompactionCoordinator.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…ction/CompactionJobClient.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…ction/CompactionJobClient.java

Co-authored-by: Dave Marion <dlmarion@apache.org>
…pactionIT.java

Co-authored-by: Dave Marion <dlmarion@apache.org>

This branch has not been deployed

No deployments
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.

3 participants