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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static CountDownLatchprivate static byte[]static final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.TableNameprivate static CountDownLatchprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetUp()static voidtearDown()voidtestRace()private booleanwasExecuted(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