Skip to content

Commit

Permalink
fix the log of method AddNewLearners(#779) (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
howie-xu authored Mar 18, 2022
1 parent 4739cbd commit a77c4d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ private void addNewPeers(final Configuration adding) {
private void addNewLearners() {
final Set<PeerId> addingLearners = new HashSet<>(this.newLearners);
addingLearners.removeAll(this.oldLearners);
LOG.info("Adding learners: {}.", this.addingPeers);
LOG.info("Adding learners: {}.", addingLearners);
for (final PeerId newLearner : addingLearners) {
if (!this.node.replicatorGroup.addReplicator(newLearner, ReplicatorType.Learner)) {
LOG.error("Node {} start the learner replicator failed, peer={}.", this.node.getNodeId(),
Expand Down

0 comments on commit a77c4d0

Please sign in to comment.