Skip to content

Commit

Permalink
Change some info level logs to debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Garnsey committed Nov 16, 2022
1 parent aff7669 commit 4a0d51a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ private void startNextSegment() throws ReaperException, InterruptedException {
} else {
potentialReplicas.addAll(potentialReplicaMap.keySet());
}
LOG.info("Potential replicas for segment {}: {}", segment.getId(), potentialReplicas);
LOG.debug("Potential replicas for segment {}: {}", segment.getId(), potentialReplicas);
JmxProxy coordinator = clusterFacade.connect(cluster, potentialReplicas);
if (nodesReadyForNewRepair(coordinator, segment, potentialReplicaMap, repairRunId)) {
nextRepairSegment = Optional.of(segment);
Expand Down Expand Up @@ -543,7 +543,7 @@ private boolean nodesReadyForNewRepair(
UUID segmentId) {

Collection<String> nodes = getNodesInvolvedInSegment(dcByNode);
LOG.info("Nodes involved in segment {}: {}", segmentId, nodes);
LOG.debug("Nodes involved in segment {}: {}", segmentId, nodes);
String dc = EndpointSnitchInfoProxy.create(coordinator).getDataCenter();
boolean requireAllHostMetrics = DatacenterAvailability.LOCAL != context.config.getDatacenterAvailability();
boolean allLocalDcHostsChecked = true;
Expand Down Expand Up @@ -588,7 +588,7 @@ private boolean nodesReadyForNewRepair(
LOG.debug("Ok to repair segment '{}' on repair run with id '{}'", segment.getId(), segment.getRunId());
return true;
} else {
LOG.info("Couldn't get metrics for hosts {}, will retry later", unreachableNodes);LOG.info("Couldn't get metrics for hosts {}, will retry later", unreachableNodes);
LOG.debug("Couldn't get metrics for hosts {}, will retry later", unreachableNodes);
String msg = String.format(
"Postponed repair segment %s on repair run with id %s because we couldn't get %shosts metrics on %s",
segment.getId(),
Expand Down

0 comments on commit 4a0d51a

Please sign in to comment.