HBASE-20082 Fix findbugs errors only on master which are introduced by HBASE-19397
This commit is contained in:
parent
a34f129aff
commit
8c74d177f6
|
@ -50,6 +50,8 @@ public class RefreshPeerProcedure extends Procedure<MasterProcedureEnv>
|
|||
|
||||
private PeerOperationType type;
|
||||
|
||||
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",
|
||||
justification = "Will never change after construction")
|
||||
private ServerName targetServer;
|
||||
|
||||
private boolean dispatched;
|
||||
|
|
|
@ -403,7 +403,7 @@ public class ReplicationSourceManager implements ReplicationListener {
|
|||
toStartup.add(replicationSource);
|
||||
}
|
||||
}
|
||||
for (ReplicationSourceInterface replicationSource : oldsources) {
|
||||
for (ReplicationSourceInterface replicationSource : toStartup) {
|
||||
replicationSource.startup();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue