Jackie-Jiang commented on a change in pull request #6684:
URL: https://github.com/apache/incubator-pinot/pull/6684#discussion_r595400944



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/SegmentBuildTimeLeaseExtender.java
##########
@@ -78,9 +80,11 @@ public static SegmentBuildTimeLeaseExtender 
getOrCreate(final String instanceId,
       ServerMetrics serverMetrics, String tableNameWithType) {
     return TABLE_TO_LEASE_EXTENDER.compute(tableNameWithType, (k, v) -> {
       if (v == null) {
-        return new SegmentBuildTimeLeaseExtender(instanceId, serverMetrics, 
tableNameWithType);
+        SegmentBuildTimeLeaseExtender leaseExtender = new 
SegmentBuildTimeLeaseExtender(instanceId, serverMetrics, tableNameWithType);
+        LOGGER.info("Created lease extender for table: {}", tableNameWithType);
+        return leaseExtender;
       } else {
-        LOGGER.warn("Lease extender for Table: {} already exists", 
tableNameWithType);
+        LOGGER.info("Lease extender for table: {} already exists", 
tableNameWithType);

Review comment:
       I think this should still be `warn` because this method should only be 
called once within the table manager `init()`. @mcvsubbu wdyt?




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to