-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26009 Backport HBASE-25766 "Introduce RegionSplitRestriction that restricts the pattern of the split point" to branch-2.3 #3395
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
Conversation
…at restricts the pattern of the split point" to branch-2.3
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
This is a new feature? Is it suitable to be backported to 2.3? |
|
This may be a new feature but it doesn't break any compatibilities. So I thought we could put it into the next 2.3.x release. What do you guys think? Thanks. |
|
I personally think this cannot be applied to any patch release. It introduces a new table configuration, which may cause problems during a rollback. What are the "Server-Server" compatibility implications of this change being applied to any patch release? |
ndimiduk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I request two small javadoc changes if this does go back to a 2.3.x.
| * ensures that all rows starting with the same userid, belongs to the same region. | ||
| * @see KeyPrefixRegionSplitPolicy | ||
| * | ||
| * @deprecated since 2.4.3 and will be removed in 4.0.0. Use {@link RegionSplitRestriction}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to update this deprecation string to also include the applicable 2.3.x version number.
| * This ensures that a region is not split "inside" a prefix of a row key. | ||
| * I.e. rows can be co-located in a region by their prefix. | ||
| * | ||
| * @deprecated since 2.4.3 and will be removed in 4.0.0. Use {@link RegionSplitRestriction}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to update this deprecation string to also include the applicable 2.3.x version number.
|
@ndimiduk Thank you for taking a look at this!
I don't think it breaks the "Server-Server" compatibility, and we can perform a rolling upgrade to the version that has this fix. But yes, it's not a bug fix, but introducing a new table configuration, so we shouldn't apply it to patch releases. So I will close this PR. Thanks. |
No description provided.