Uh oh!
There was an error while loading. Please reload this page.
HBASE-27250 MasterRpcService#setRegionStateInMeta does not support re… - #4664
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f626df5 to
c283ea7Comparehuaxiangsun
commented
Aug 4, 2022
force pushed update to address spotless and spotbugs issues. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
huaxiangsun
commented
Aug 5, 2022
unit | 282m 8s | hbase-server in the patch failed. |
This comment was marked as outdated.
This comment was marked as outdated.
huaxiangsun
commented
Sep 7, 2022
Run TestSyncReplicationRemoveRemoteWAL and TestFuzzyRowFilterEndToEnd locally, they passed. |
Apache9
left a comment
There was a problem hiding this comment.
And checked the code again, when calculating encodedRegionName, we will include replicaId so I think the old implementation can support replica region, as the encodedRegionName for a secondary replica region is different from the primary replica region.
Uh oh!
There was an error while loading. Please reload this page.
huaxiangsun
commented
Sep 14, 2022
Thanks for comments, checking! |
Apache9
commented
Sep 20, 2022
Any updates here? Thanks. |
ndimiduk
commented
Feb 8, 2023
I'm seeing some production issues and I think this feature would be useful. Let me try to pick it up. |
…plica region encodedNames or region names
ab8030a to
a3585b1Comparendimiduk
commented
Feb 14, 2023
Oh hey, it let me push to @huaxiangsun 's branch. I have rebased onto master and picked up the plumbing required through AM to handle read replica regions in more places. As a nice bonus, I think HBCKServerCrashProcedure will now clean up replicas too. devtests are passing locally. I'd like to add an HBCKSCP test that explicitly covers this use-case. LEt's see what builedbot has to say. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
- make several MetaTableAccessor methods more precise in their handling of replica regions - hbck2 setRegionStateInMeta and HBCKServerCrashProcedure handle read replicas - separate AM helper methods -- loading RegionInfo from cache vs. refreshing cache from meta - AM helper method support loading RegionInfo from cache via either region name and encoded region name (both caches are maintained, and under lock)
a3585b1 to
47df4f5CompareApache-HBase
commented
Feb 14, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 14, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 14, 2023
🎊 +1 overall
This message was automatically generated. |
petersomogyi
left a comment
There was a problem hiding this comment.
This change looks good to me. Thanks @ndimiduk for moving this patch forward!
ndimiduk
commented
Feb 21, 2023
Merged to master. Thanks all for the effort! |
…plica region encodedNames or region names