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