HBASE-16135 addendum format comments

This commit is contained in:
zhangduo 2016-07-04 20:41:06 +08:00
parent 721c5b7128
commit 4807836304
1 changed files with 2 additions and 2 deletions

View File

@ -389,8 +389,8 @@ public class ReplicationSourceManager implements ReplicationListener {
String logName = logPath.getName();
String logPrefix = DefaultWALProvider.getWALPrefixFromWALName(logName);
// update replication queues on ZK
synchronized (replicationPeers) {// synchronize on replicationPeers to avoid adding source for
// the to-be-removed peer
// synchronize on replicationPeers to avoid adding source for the to-be-removed peer
synchronized (replicationPeers) {
for (String id : replicationPeers.getPeerIds()) {
try {
this.replicationQueues.addLog(id, logName);