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

HBASE-22686 ZkSplitLogWorkerCoordination doesn't allow a regionserver to pick up all of the split work it is capable of #377

Merged
merged 1 commit into from
Jul 13, 2019

Conversation

apurtell
Copy link
Contributor

@apurtell apurtell commented Jul 12, 2019

The regionserver side distributed split coordination logic only allows a regionserver to grab one task one at a time. Nearby javadoc says "This policy puts an upper-limit on the number of simultaneous log splitting that could be happening in a cluster." That upper limit will be the number of currently live regionservers. However, a regionserver can handle more than one task at once and in fact the max number of concurrent split tasks it can accept is configurable.

Copy link
Contributor

@xcangCRM xcangCRM left a comment

Choose a reason for hiding this comment

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

+1

@apurtell apurtell force-pushed the HBASE-22686 branch 2 times, most recently from 4106107 to 5c0b3d9 Compare July 12, 2019 22:42
@apurtell
Copy link
Contributor Author

Updated to remove now invalid unit test.

@apurtell
Copy link
Contributor Author

Latest change moves debug log lines to TRACE level which might otherwise be logged 10 times a second.

… to pick up all of the split work it is capable of
@apurtell apurtell merged commit 12d7db7 into apache:master Jul 13, 2019
@apurtell apurtell deleted the HBASE-22686 branch July 13, 2019 01:10
asfgit pushed a commit that referenced this pull request Jul 13, 2019
… to pick up all of the split work it is capable of (#377)

Signed-off-by: Xu Cang <[email protected]>
asfgit pushed a commit that referenced this pull request Jul 13, 2019
… to pick up all of the split work it is capable of (#377)

Signed-off-by: Xu Cang <[email protected]>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitLogWorker.java
asfgit pushed a commit that referenced this pull request Jul 13, 2019
… to pick up all of the split work it is capable of (#377)

Signed-off-by: Xu Cang <[email protected]>
infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
… to pick up all of the split work it is capable of (apache#377)

Signed-off-by: Xu Cang <[email protected]>
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
… to pick up all of the split work it is capable of (apache#377)

Signed-off-by: Xu Cang <[email protected]>
(cherry picked from commit c2f7093)

Change-Id: Ieb35564babee99965e4fc4a87fd8a1c9b7d37f0b
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.

2 participants