Uh oh!
There was an error while loading. Please reload this page.
HBASE-26811 Secondary replica may be disabled for read forever - #4182
Conversation
Apache-HBase
commented
Mar 8, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 8, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 8, 2022
💔 -1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Mar 8, 2022
🎊 +1 overall
This message was automatically generated. |
Apache9
left a comment
There was a problem hiding this comment.
I do not see how we fixed the problem described on jira?
| // from primary before starting to serve reads, because gaps from replication is not applicable | ||
| return setValue(REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY, | ||
| Boolean.toString(memstoreReplication)); | ||
| if (!memstoreReplication) { |
There was a problem hiding this comment.
This is a behavior change? If memstoreReplication is true, we will not set REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY to true?
There was a problem hiding this comment.
@Apache9 , yes, the fix of the problem described on jira is here, if we explicitly set memstoreReplication to true at table level(the default value is true), we do not change the REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY, keep its original config(the default value is also true). If REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY is false and memstoreReplication is true, the secondary region is enabled for read when open.
There was a problem hiding this comment.
I suggest we do the logic outside TableDescriptorBuilder. It is confusing...
There was a problem hiding this comment.
@Apache9,REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY and TableDescriptorBuilder.setRegionMemStoreReplication are not necessarily related, I have move the logic into HRegionServer.triggerFlushInPrimaryRegion
Apache-HBase
commented
Mar 8, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 11, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 11, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 11, 2022
🎊 +1 overall
This message was automatically generated. |
@Apache9 , would you please help review again at your convenience? Thank you very much. |
No description provided.