HBASE-20585 Need to clear peer map when clearing MasterProcedureScheduler
This commit is contained in:
parent
60b8344cf1
commit
82e3011166
|
@ -247,6 +247,10 @@ public class MasterProcedureScheduler extends AbstractProcedureScheduler {
|
|||
clear(tableMap, tableRunQueue, TABLE_QUEUE_KEY_COMPARATOR);
|
||||
tableMap = null;
|
||||
|
||||
// Remove Peers
|
||||
clear(peerMap, peerRunQueue, PEER_QUEUE_KEY_COMPARATOR);
|
||||
peerMap = null;
|
||||
|
||||
assert size() == 0 : "expected queue size to be 0, got " + size();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue