danny0405 commented on code in PR #13870:
URL: https://github.com/apache/hudi/pull/13870#discussion_r2338372878
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/BaseHoodieLogRecordReader.java:
##########
@@ -122,6 +123,10 @@ public abstract class BaseHoodieLogRecordReader<T> {
private AtomicLong totalRollbacks = new AtomicLong(0);
// Total number of corrupt blocks written across all log files
private AtomicLong totalCorruptBlocks = new AtomicLong(0);
+ // Total number of corrupt log files - for metrics
+ private AtomicLong totalCorruptLogFiles = new AtomicLong(0);
Review Comment:
this varlable can be local.
BTW, I'm wondering why we need this, the `totalCorruptBlocks` is there
already?
--
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]