sarankk commented on code in PR #221:
URL: https://github.com/apache/cassandra-sidecar/pull/221#discussion_r2130668198


##########
server/src/main/java/org/apache/cassandra/sidecar/restore/RestoreJobConsistencyChecker.java:
##########
@@ -100,6 +100,7 @@ public Future<RestoreJobProgress> check(RestoreJob 
restoreJob, RestoreJobProgres
         RestoreJobProgressCollector collector = 
RestoreJobProgressCollectors.create(restoreJob, fetchPolicy);
         RestoreRangeStatus successCriteria = 
restoreJob.expectedNextRangeStatus();
         ConsistencyVerifier verifier = 
ConsistencyVerifiers.forConsistencyLevel(restoreJob.consistencyLevel, 
restoreJob.localDatacenter);
+        LOGGER.info("Checking restore job progress. jobId={} fetchPolicy={} 
successCriteria={}", restoreJob.jobId, fetchPolicy, successCriteria);

Review Comment:
   How frequently does the `/progress` endpoint get called? should we log this 
at debug?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to