Class TestRegionReplicaWaitForPrimaryFlushConf
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionReplicaWaitForPrimaryFlushConf
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final HBaseTestingUtility
final TableNameTestRule
private org.apache.hadoop.hbase.TableName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
This test is for HBASE-26811,before HBASE-26811,whenRegionReplicaUtil.REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY
is 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_KEY
is 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
-