shubhampatel28 commented on code in PR #14354:
URL: https://github.com/apache/hudi/pull/14354#discussion_r2596903381
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java:
##########
@@ -453,7 +469,13 @@ protected void ensurePartitionLoadedCorrectly(String
partition) {
if (!isPartitionAvailableInStore(partitionPathStr)) {
// Not loaded yet
try {
- LOG.info("Building file system view for partition ({})",
partitionPathStr);
+ // For metadata table, always log at DEBUG. For data table, log at
INFO once every 10 times
+ if (metaClient.isMetadataTable()) {
+ LOG.debug("Building file system view for partition ({})",
partitionPathStr);
+ } else {
+ partitionViewBuildSamplingLogger.logInfoOrDebug(
+ "Building file system view for partition ({})",
partitionPathStr);
+ }
Review Comment:
agreed. as discussed, moving this to mdt debug. and for data table, leaving
it as info logging as before.
--
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]