Class TestRaceBetweenSCPAndDTP
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestRaceBetweenSCPAndDTP
Testcase for HBASE-28522.
We used to have test with the same name but in different package for HBASE-23636, where DTP will hold the exclusive lock all the time, and it will reset TRSPs which has been attached to RegionStateNodes, so we need special logic in SCP to deal with it.
After HBASE-28522, DTP will not reset TRSPs any more, so SCP does not need to take care of this special case, thues we removed the special logic in SCP and also the UT for HBASE-22636 is not valid any more, so we just removed the old one and introduce a new one with the same name here.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static CountDownLatch
private static byte[]
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static org.apache.hadoop.hbase.TableName
private static CountDownLatch
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setUp()
static void
tearDown()
void
testRace()
private boolean
wasExecuted
(org.apache.hadoop.hbase.procedure2.Procedure<?> proc)
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
NAME
-
CF
-
ARRIVE_GET_REPLICATION_PEER_MANAGER
-
RESUME_GET_REPLICATION_PEER_MANAGER
-
-
Constructor Details
-
TestRaceBetweenSCPAndDTP
public TestRaceBetweenSCPAndDTP()
-
-
Method Details