Class TestRegionReplicaWaitForPrimaryFlushConf
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionReplicaWaitForPrimaryFlushConf
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final HBaseTestingUtilfinal TableNameTestRuleprivate org.apache.hadoop.hbase.TableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidThis test is for HBASE-26811,before HBASE-26811,whenRegionReplicaUtil.REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEYis false and setTableDescriptorBuilder.setRegionMemStoreReplication(boolean)to true explicitly,the secondary replica would be disabled for read after open,after HBASE-26811,the secondary replica would be enabled for read after open.
-
Field Details
-
CLASS_RULE
-
FAMILY
-
tableName
-
name
-
HTU
-
-
Constructor Details
-
TestRegionReplicaWaitForPrimaryFlushConf
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testSecondaryReplicaReadEnabled
This test is for HBASE-26811,before HBASE-26811,whenRegionReplicaUtil.REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEYis false and setTableDescriptorBuilder.setRegionMemStoreReplication(boolean)to true explicitly,the secondary replica would be disabled for read after open,after HBASE-26811,the secondary replica would be enabled for read after open.- Throws:
Exception
-