HBASE-16135 addendum format comments
This commit is contained in:
parent
721c5b7128
commit
4807836304
|
@ -389,8 +389,8 @@ public class ReplicationSourceManager implements ReplicationListener {
|
||||||
String logName = logPath.getName();
|
String logName = logPath.getName();
|
||||||
String logPrefix = DefaultWALProvider.getWALPrefixFromWALName(logName);
|
String logPrefix = DefaultWALProvider.getWALPrefixFromWALName(logName);
|
||||||
// update replication queues on ZK
|
// update replication queues on ZK
|
||||||
synchronized (replicationPeers) {// synchronize on replicationPeers to avoid adding source for
|
// synchronize on replicationPeers to avoid adding source for the to-be-removed peer
|
||||||
// the to-be-removed peer
|
synchronized (replicationPeers) {
|
||||||
for (String id : replicationPeers.getPeerIds()) {
|
for (String id : replicationPeers.getPeerIds()) {
|
||||||
try {
|
try {
|
||||||
this.replicationQueues.addLog(id, logName);
|
this.replicationQueues.addLog(id, logName);
|
||||||
|
|
Loading…
Reference in New Issue