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


##########
pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java:
##########
@@ -3312,13 +3313,21 @@ public static class IngestionConfigs {
     public static final int DEFAULT_INGESTION_EXCEPTION_LOG_RATE_LIMIT_PER_MIN 
= 5;
   }
 
-  /// Configuration for setting up groovy static analyzer.
+  /// Configuration for ingestion Groovy and the Groovy static analyzer.
   /// User can config different configuration for query and ingestion (table 
creation and update) static analyzer.
   /// The all configuration is the default configuration for both query and 
ingestion static analyzer.
   public static class Groovy {
+    /// Cluster-only switch for ingestion Groovy. Query Groovy remains 
independently controlled.
+    public static final String DISABLE_INGESTION_GROOVY = 
"controller.disable.ingestion.groovy";

Review Comment:
   I kept `controller.disable.ingestion.groovy` as the single cluster key in 
this PR. The controller in #19235 and the new server and minion listeners all 
read it, including when the setting changes or is removed. During a rolling 
upgrade, a controller running #19235 would ignore a new spelling while newer 
nodes could honor it. I'd handle a rename as a separate configuration migration 
with one precedence rule across all three roles and tests for conflicting 
values and removal. For this rollout operators can keep using the existing key.



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