HBASE-26811 (addendum)Secondary replica may be disabled for read incorrectly forever (#4311)

This commit is contained in:
chenglei 2022-04-01 14:08:19 +08:00 committed by GitHub
parent 6ba8a09d11
commit f51e57908f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -77,10 +77,11 @@ public class TestRegionReplicaWaitForPrimaryFlushConf {
} }
/** /**
* This test is for HBASE-26811,when * This test is for HBASE-26811,before HBASE-26811,when
* {@link ServerRegionReplicaUtil#REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY} is false and set * {@link ServerRegionReplicaUtil#REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY} is false and set
* {@link TableDescriptorBuilder#setRegionMemStoreReplication} to true explicitly,the secondary * {@link TableDescriptorBuilder#setRegionMemStoreReplication} to true explicitly,the secondary
* replica would be disabled for read after open. * replica would be disabled for read after open,after HBASE-26811,the secondary replica would be
* enabled for read after open.
*/ */
@Test @Test
public void testSecondaryReplicaReadEnabled() throws Exception { public void testSecondaryReplicaReadEnabled() throws Exception {