You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "szetszwo (via GitHub)" <gi...@apache.org> on 2025/11/01 05:54:09 UTC
Re: [PR] HDDS-13863. RocksDBCheckpointDiffer Compaction Tracker erroneously logs warn logs in absence of snapshot [ozone]
szetszwo commented on code in PR #9230:
URL: https://github.com/apache/ozone/pull/9230#discussion_r2483138511
##########
hadoop-hdds/rocksdb-checkpoint-differ/src/main/java/org/apache/ozone/rocksdiff/RocksDBCheckpointDiffer.java:
##########
@@ -530,6 +523,11 @@ public void onCompactionCompleted(RocksDB db,
compactionLogEntry.getOutputFileInfoList(),
compactionLogEntry.getDbSequenceNumber());
for (String inputFile : inputFileCompactions.keySet()) {
+ if (!inflightCompactions.containsKey(inputFile)) {
+ LOG.warn("Input file not found in inflightCompactionsMap : {} which should have been added on " +
+ "compactionBeginListener.",
+ inputFile);
Review Comment:
Could you answer these two simple questions?
- is it a bug in the code?
- does it mean that some data (snapshot/diff/sst) is corrupted?
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org