Class ReplicationLogCleanerBarrier
java.lang.Object
org.apache.hadoop.hbase.replication.master.ReplicationLogCleanerBarrier
A barrier to guard the execution of
ReplicationLogCleaner
.
The reason why we introduce this class is because there could be race between
AddPeerProcedure
and
ReplicationLogCleaner
. See HBASE-27214 for more details.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
-
Constructor Summary
-
Method Summary
-
Field Details
-
state
-
numberDisabled
-
-
Constructor Details
-
ReplicationLogCleanerBarrier
public ReplicationLogCleanerBarrier()
-
-
Method Details
-
start
-
stop
-
disable
-
enable
-