xiangfu0 commented on code in PR #18203:
URL: https://github.com/apache/pinot/pull/18203#discussion_r3110498983


##########
pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java:
##########
@@ -2233,11 +2233,12 @@ public static class CursorConfigs {
     public static final String DEFAULT_RESULTS_EXPIRATION_INTERVAL = "1h"; // 
1 hour.
     public static final String RESULTS_EXPIRATION_INTERVAL = 
PREFIX_OF_CONFIG_OF_RESPONSE_STORE + ".expiration";
 
+    // Read once at broker startup; changes require broker restart to take 
effect.
     public static final String RESPONSE_STORE_CLEANER_FREQUENCY_PERIOD =
-        "controller.cluster.response.store.cleaner.frequencyPeriod";
+        PREFIX_OF_CONFIG_OF_RESPONSE_STORE + ".cleaner.frequencyPeriod";

Review Comment:
   Renaming the cleaner config keys here breaks existing deployments that 
already use `controller.cluster.response.store.cleaner.*`: after upgrade the 
broker only reads the new `pinot.broker.cursor.response.store.cleaner.*` names, 
so those clusters silently fall back to the default cadence. Pinot usually 
keeps old config keys as aliases during a rollout; otherwise this changes 
runtime behavior for existing installs without any compatibility path.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to