sadanand48 commented on code in PR #8186:
URL: https://github.com/apache/ozone/pull/8186#discussion_r2019698449
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/DBCheckpointServlet.java:
##########
@@ -195,7 +195,9 @@ private void generateSnapshotCheckpoint(HttpServletRequest
request,
.filter(s -> s.endsWith(ROCKSDB_SST_SUFFIX))
.distinct()
.collect(Collectors.toList()));
- LOG.info("Received excluding SST {}", receivedSstList);
+ if (sstParam.length % 10 == 0) {
Review Comment:
what I meant by 5 or 10 was that we can print only 5 filenames in the
LOG.info output and say there are few more
Eg:
`INFO Received excluding SST : { 1.sst 2.sst 3.sst 4.sst 5.sst } . The total
excluded sst files count is 125.`
Under debug we can keep as is
``` java
if (LOG.isDebugEnabled()) {
LOG.debug("Received excluding SST {}", receivedSstList);
}
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]