vigneshio commented on code in PR #4970:
URL: https://github.com/apache/polaris/pull/4970#discussion_r3543688287


##########
runtime/service/src/main/java/org/apache/polaris/service/task/TableCleanupTaskHandler.java:
##########
@@ -246,7 +246,8 @@ private Stream<TaskEntity> getMetadataTaskStream(
       PolarisMetaStoreManager metaStoreManager,
       CallContext callContext) {
     PolarisCallContext polarisCallContext = 
callContext.getPolarisCallContext();
-    int batchSize = 
callContext.getRealmConfig().getConfig(TABLE_METADATA_CLEANUP_BATCH_SIZE);

Review Comment:
   Good idea @ayushtkn . Added the warn log for non-positive batch sizes, 
showing both configured and effective values. Kept clamp-to-1 as the safe 
minimal fix - we can revisit fallback to default once realm-level config 
validation is ready.



-- 
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]

Reply via email to