This is an automated email from the ASF dual-hosted git repository.

Jackie-Jiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 2160f62f849 Remove unused fields from CommonConstants (#20335)
2160f62f849 is described below

commit 2160f62f849719c85f5318478da345eeb43d38e1
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Tue Nov 24 21:18:29 2026 -0800

    Remove unused fields from CommonConstants (#20335)
---
 .../pinot/controller/BaseControllerStarter.java    |  5 +-
 .../realtime/PinotLLCRealtimeSegmentManager.java   |  6 +-
 .../predownload/PredownloadSchedulerTest.java      | 41 +++++-----
 .../apache/pinot/spi/metrics/PinotMetricUtils.java |  3 +-
 .../apache/pinot/spi/utils/CommonConstants.java    | 87 ----------------------
 5 files changed, 27 insertions(+), 115 deletions(-)

diff --git 
a/pinot-controller/src/main/java/org/apache/pinot/controller/BaseControllerStarter.java
 
b/pinot-controller/src/main/java/org/apache/pinot/controller/BaseControllerStarter.java
index 9f4320f2767..d02ddd30f87 100644
--- 
a/pinot-controller/src/main/java/org/apache/pinot/controller/BaseControllerStarter.java
+++ 
b/pinot-controller/src/main/java/org/apache/pinot/controller/BaseControllerStarter.java
@@ -183,7 +183,6 @@ public abstract class BaseControllerStarter implements 
ServiceStartable {
   private static final String METRICS_REGISTRY_NAME = 
"pinot.controller.metrics";
   private static final Long DATA_DIRECTORY_MISSING_VALUE = 1000000L;
   private static final Long DATA_DIRECTORY_EXCEPTION_VALUE = 1100000L;
-  private static final String METADATA_EVENT_NOTIFIER_PREFIX = 
"metadata.event.notifier";
   private static final String MAX_STATE_TRANSITIONS_PER_INSTANCE = 
"MaxStateTransitionsPerInstance";
   private static final String MAX_STATE_TRANSITIONS_PER_RESOURCE = 
"MaxStateTransitionsPerResource";
 
@@ -748,8 +747,8 @@ public abstract class BaseControllerStarter implements 
ServiceStartable {
       throw new RuntimeException("Caught exception while creating new 
AccessControlFactory instance", e);
     }
 
-    final MetadataEventNotifierFactory metadataEventNotifierFactory =
-        
MetadataEventNotifierFactory.loadFactory(_config.subset(METADATA_EVENT_NOTIFIER_PREFIX),
 _helixResourceManager);
+    final MetadataEventNotifierFactory metadataEventNotifierFactory = 
MetadataEventNotifierFactory.loadFactory(
+        _config.subset(CommonConstants.Minion.METADATA_EVENT_OBSERVER_PREFIX), 
_helixResourceManager);
 
     // Created once the components an executor may use exist, see the Javadoc 
of the hook
     _sqlQueryExecutor = createSqlQueryExecutor();
diff --git 
a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
 
b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
index 77c65fc85c4..8d37afbd4a0 100644
--- 
a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
+++ 
b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
@@ -174,7 +174,6 @@ public class PinotLLCRealtimeSegmentManager implements 
PinotClusterConfigChangeL
   private static final RetryPolicy DEFAULT_RETRY_POLICY = 
RetryPolicies.exponentialBackoffRetryPolicy(10, 1000L, 1.2f);
   public static final String COMMITTING_SEGMENTS = "committingSegments";
   private static final int STARTING_SEQUENCE_NUMBER = 0; // Initial sequence 
number for new table segments
-  private static final String METADATA_EVENT_NOTIFIER_PREFIX = 
"metadata.event.notifier";
   // Not imported: the controller's own Constants class is already imported 
here.
   private static final String METADATA_TAR_GZ_FILE_EXT =
       
org.apache.pinot.spi.ingestion.batch.spec.Constants.METADATA_TAR_GZ_FILE_EXT;
@@ -233,9 +232,8 @@ public class PinotLLCRealtimeSegmentManager implements 
PinotClusterConfigChangeL
     _clusterName = helixResourceManager.getHelixClusterName();
     _controllerConf = controllerConf;
     _controllerMetrics = controllerMetrics;
-    _metadataEventNotifierFactory =
-        
MetadataEventNotifierFactory.loadFactory(controllerConf.subset(METADATA_EVENT_NOTIFIER_PREFIX),
-            helixResourceManager);
+    _metadataEventNotifierFactory = MetadataEventNotifierFactory.loadFactory(
+        
controllerConf.subset(CommonConstants.Minion.METADATA_EVENT_OBSERVER_PREFIX), 
helixResourceManager);
     _flushThresholdUpdateManager = new FlushThresholdUpdateManager();
 
     _isDeepStoreLLCSegmentUploadRetryEnabled = 
controllerConf.isDeepStoreRetryUploadLLCSegmentEnabled();
diff --git 
a/pinot-server/src/test/java/org/apache/pinot/server/predownload/PredownloadSchedulerTest.java
 
b/pinot-server/src/test/java/org/apache/pinot/server/predownload/PredownloadSchedulerTest.java
index 02e89aa7242..20f4ffb2500 100644
--- 
a/pinot-server/src/test/java/org/apache/pinot/server/predownload/PredownloadSchedulerTest.java
+++ 
b/pinot-server/src/test/java/org/apache/pinot/server/predownload/PredownloadSchedulerTest.java
@@ -44,7 +44,8 @@ import org.apache.pinot.spi.env.CommonsConfigurationUtils;
 import org.apache.pinot.spi.filesystem.PinotFSFactory;
 import org.apache.pinot.spi.metrics.PinotMetricUtils;
 import org.apache.pinot.spi.metrics.PinotMetricsRegistry;
-import org.apache.pinot.spi.utils.CommonConstants;
+import org.apache.pinot.spi.utils.CommonConstants.Helix;
+import org.apache.pinot.spi.utils.CommonConstants.Server;
 import org.apache.pinot.spi.utils.retry.AttemptsExceededException;
 import org.mockito.MockedConstruction;
 import org.mockito.MockedStatic;
@@ -321,11 +322,11 @@ public class PredownloadSchedulerTest {
       throws Exception {
     // Test default parallelism (should use numProcessors * 3)
     Map<String, Object> defaultProps = Map.of(
-        "pinot.server.instance.id", INSTANCE_ID,
-        "pinot.server.instance.dataDir", INSTANCE_DATA_DIR,
-        "pinot.server.instance.readMode", READ_MODE,
-        "pinot.cluster.name", CLUSTER_NAME,
-        "pinot.zk.server", ZK_ADDRESS
+        Server.CONFIG_OF_INSTANCE_ID, INSTANCE_ID,
+        Server.CONFIG_OF_INSTANCE_DATA_DIR, INSTANCE_DATA_DIR,
+        Server.CONFIG_OF_READ_MODE, READ_MODE,
+        Helix.CONFIG_OF_CLUSTER_NAME, CLUSTER_NAME,
+        Helix.CONFIG_OF_ZOOKEEPER_SERVER, ZK_ADDRESS
     );
     PropertiesConfiguration defaultConfig = new PropertiesConfiguration();
     defaultProps.forEach((key, value) -> defaultConfig.setProperty(key, 
value));
@@ -340,12 +341,12 @@ public class PredownloadSchedulerTest {
     // Test custom parallelism
     int customParallelism = 10;
     Map<String, Object> customProps = Map.of(
-        "pinot.server.instance.id", INSTANCE_ID,
-        "pinot.server.instance.dataDir", INSTANCE_DATA_DIR,
-        "pinot.server.instance.readMode", READ_MODE,
-        "pinot.cluster.name", CLUSTER_NAME,
-        "pinot.zk.server", ZK_ADDRESS,
-        "pinot.server.predownload.parallelism", 
String.valueOf(customParallelism)
+        Server.CONFIG_OF_INSTANCE_ID, INSTANCE_ID,
+        Server.CONFIG_OF_INSTANCE_DATA_DIR, INSTANCE_DATA_DIR,
+        Server.CONFIG_OF_READ_MODE, READ_MODE,
+        Helix.CONFIG_OF_CLUSTER_NAME, CLUSTER_NAME,
+        Helix.CONFIG_OF_ZOOKEEPER_SERVER, ZK_ADDRESS,
+        Server.CONFIG_OF_PREDOWNLOAD_PARALLELISM, 
String.valueOf(customParallelism)
     );
     PropertiesConfiguration customConfig = new PropertiesConfiguration();
     customProps.forEach((key, value) -> customConfig.setProperty(key, value));
@@ -358,12 +359,12 @@ public class PredownloadSchedulerTest {
 
     // Test zero/negative parallelism (should fall back to default)
     Map<String, Object> zeroProps = Map.of(
-        "pinot.server.instance.id", INSTANCE_ID,
-        "pinot.server.instance.dataDir", INSTANCE_DATA_DIR,
-        "pinot.server.instance.readMode", READ_MODE,
-        "pinot.cluster.name", CLUSTER_NAME,
-        "pinot.zk.server", ZK_ADDRESS,
-        "pinot.server.predownload.parallelism", "0"
+        Server.CONFIG_OF_INSTANCE_ID, INSTANCE_ID,
+        Server.CONFIG_OF_INSTANCE_DATA_DIR, INSTANCE_DATA_DIR,
+        Server.CONFIG_OF_READ_MODE, READ_MODE,
+        Helix.CONFIG_OF_CLUSTER_NAME, CLUSTER_NAME,
+        Helix.CONFIG_OF_ZOOKEEPER_SERVER, ZK_ADDRESS,
+        Server.CONFIG_OF_PREDOWNLOAD_PARALLELISM, "0"
     );
     PropertiesConfiguration zeroConfig = new PropertiesConfiguration();
     zeroProps.forEach((key, value) -> zeroConfig.setProperty(key, value));
@@ -443,7 +444,7 @@ public class PredownloadSchedulerTest {
 
   private PredownloadScheduler 
buildPeerEnabledScheduler(PropertiesConfiguration properties)
       throws Exception {
-    
properties.setProperty(CommonConstants.Server.CONFIG_OF_PEER_DOWNLOAD_ENABLED, 
true);
+    properties.setProperty(Server.CONFIG_OF_PEER_DOWNLOAD_ENABLED, true);
     PredownloadScheduler scheduler = spy(new PredownloadScheduler(properties));
     scheduler._executor = Runnable::run;
 
@@ -491,7 +492,7 @@ public class PredownloadSchedulerTest {
     assertEquals(enabledField.get(disabled), false);
     disabled.stop();
 
-    
properties.setProperty(CommonConstants.Server.CONFIG_OF_PEER_DOWNLOAD_ENABLED, 
true);
+    properties.setProperty(Server.CONFIG_OF_PEER_DOWNLOAD_ENABLED, true);
     PredownloadScheduler enabled = new PredownloadScheduler(properties);
     assertEquals(enabledField.get(enabled), true);
     enabled.stop();
diff --git 
a/pinot-spi/src/main/java/org/apache/pinot/spi/metrics/PinotMetricUtils.java 
b/pinot-spi/src/main/java/org/apache/pinot/spi/metrics/PinotMetricUtils.java
index b98bfca6ae6..a172a48b085 100644
--- a/pinot-spi/src/main/java/org/apache/pinot/spi/metrics/PinotMetricUtils.java
+++ b/pinot-spi/src/main/java/org/apache/pinot/spi/metrics/PinotMetricUtils.java
@@ -32,6 +32,7 @@ import java.util.function.Function;
 import org.apache.pinot.spi.annotations.metrics.MetricsFactory;
 import org.apache.pinot.spi.annotations.metrics.PinotMetricsFactory;
 import org.apache.pinot.spi.env.PinotConfiguration;
+import org.apache.pinot.spi.utils.CommonConstants.Minion;
 import org.apache.pinot.spi.utils.PinotReflectionUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -106,7 +107,7 @@ public class PinotMetricUtils {
   /// @param configuration The subset of the configuration containing the 
metrics-related keys
   private static void initializeMetrics(PinotConfiguration configuration) {
     synchronized (PinotMetricUtils.class) {
-      List<String> listenerClassNames = 
configuration.getProperty("metricsRegistryRegistrationListeners",
+      List<String> listenerClassNames = 
configuration.getProperty(Minion.METRICS_REGISTRY_REGISTRATION_LISTENERS_KEY,
           
Arrays.asList(JmxReporterMetricsRegistryRegistrationListener.class.getName()));
 
       // Build each listener using their default constructor and add them
diff --git 
a/pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java 
b/pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java
index 907a5c7c0ce..ce22c4325a8 100644
--- a/pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java
+++ b/pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java
@@ -65,8 +65,6 @@ public class CommonConstants {
   public static final String DEFAULT_DATABASE = "default";
   public static final String CONFIG_OF_PINOT_INSECURE_MODE = 
"pinot.insecure.mode";
   public static final String CONFIG_OF_PINOT_MD5_DISABLED = 
"pinot.md5.disabled";
-  @Deprecated
-  public static final String DEFAULT_PINOT_INSECURE_MODE = "false";
 
   public static final String CONFIG_OF_EXECUTORS_FIXED_NUM_THREADS = 
"pinot.executors.fixed.default.numThreads";
   public static final String DEFAULT_EXECUTORS_FIXED_NUM_THREADS = "-1";
@@ -263,8 +261,6 @@ public class CommonConstants {
     public static final String PINOT_SERVICE_ROLE = "pinot.service.role";
     public static final String CONFIG_OF_CLUSTER_NAME = "pinot.cluster.name";
     public static final String CONFIG_OF_ZOOKEEPER_SERVER = "pinot.zk.server";
-    @Deprecated(since = "1.5.0", forRemoval = true)
-    public static final String CONFIG_OF_ZOOKEEPR_SERVER = "pinot.zk.server";
 
     public static final String CONFIG_OF_REMOTE_CLUSTER_NAMES = 
"pinot.remote.cluster.names";
     public static final String CONFIG_OF_REMOTE_ZOOKEEPER_SERVERS = 
"pinot.remote.zk.server.%s";
@@ -356,7 +352,6 @@ public class CommonConstants {
     public static final String 
CONFIG_OF_PARTITION_PRUNING_PREPARATION_THRESHOLD =
         "pinot.broker.partition.pruning.preparation.threshold";
     public static final int DEFAULT_PARTITION_PRUNING_PREPARATION_THRESHOLD = 
32;
-    public static final String ROUTING_TABLE_CONFIG_PREFIX = 
"pinot.broker.routing.table";
     public static final String ACCESS_CONTROL_CONFIG_PREFIX = 
"pinot.broker.access.control";
     /// Namespace for service credentials used by the broker when invoking 
Server admin APIs.
     public static final String SERVER_ADMIN_AUTH_PREFIX = 
"pinot.broker.server.admin.auth";
@@ -558,7 +553,6 @@ public class CommonConstants {
     public static final String BROKER_REQUEST_HANDLER_TYPE = 
"pinot.broker.request.handler.type";
     public static final String NETTY_BROKER_REQUEST_HANDLER_TYPE = "netty";
     public static final String GRPC_BROKER_REQUEST_HANDLER_TYPE = "grpc";
-    public static final String MULTI_STAGE_BROKER_REQUEST_HANDLER_TYPE = 
"multistage";
     public static final String DEFAULT_BROKER_REQUEST_HANDLER_TYPE = 
NETTY_BROKER_REQUEST_HANDLER_TYPE;
 
     public static final String BROKER_TLS_PREFIX = "pinot.broker.tls";
@@ -815,9 +809,6 @@ public class CommonConstants {
     // When the server instance's pool field is null or the pool contains 
multi distinguished group value, the broker
     // would set the pool to -1 in the routing table for that server.
     public static final int FALLBACK_POOL_ID = -1;
-    // keep the variable to pass the compability test
-    @Deprecated
-    public static final int FALLBACK_REPLICA_GROUP_ID = -1;
     // Admin API port for broker, to be used admin operations.
     public static final String CONFIG_OF_BROKER_ADMIN_API_PORT = 
"pinot.broker.adminapi.port";
 
@@ -1902,10 +1893,6 @@ public class CommonConstants {
     public static final String MULTISTAGE_SUBMISSION_EXEC_CONFIG_PREFIX =
         QUERY_EXECUTOR_CONFIG_PREFIX + "." + "multistage.submission";
     public static final String DEFAULT_MULTISTAGE_SUBMISSION_EXEC_TYPE = 
"fixed";
-    @Deprecated
-    public static final String CONFIG_OF_QUERY_EXECUTOR_OPCHAIN_EXECUTOR = 
MULTISTAGE_EXECUTOR_CONFIG_PREFIX;
-    @Deprecated
-    public static final String DEFAULT_QUERY_EXECUTOR_OPCHAIN_EXECUTOR = 
DEFAULT_MULTISTAGE_EXECUTOR_TYPE;
 
     // Enable SSE & MSE task throttling on critical heap usage.
     public static final String 
CONFIG_OF_ENABLE_QUERY_SCHEDULER_THROTTLING_ON_HEAP_USAGE =
@@ -2216,9 +2203,6 @@ public class CommonConstants {
     public static final String CONTROLLER_SERVICE_AUTO_DISCOVERY = 
"pinot.controller.service.auto.discovery";
     public static final String CONFIG_OF_LOGGER_ROOT_DIR = 
"pinot.controller.logger.root.dir";
     public static final String PREFIX_OF_PINOT_CONTROLLER_SEGMENT_COMPLETION = 
"pinot.controller.segment.completion";
-    // Page Cache Warmup queries data directory
-    public static final String PAGE_CACHE_WARMUP_QUERIES_DATA_DIR =
-        "pinot.controller.page.cache.warmup.queries.dataDir";
   }
 
   public static class Minion {
@@ -2514,63 +2498,10 @@ public class CommonConstants {
     public static final String DEFAULT_SECONDARY_WORKLOAD_NAME = 
"defaultSecondary";
     public static final double DEFAULT_SECONDARY_WORKLOAD_CPU_PERCENTAGE = 0.0;
 
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_FACTORY_NAME = 
"accounting.factory.name";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_ENABLE_THREAD_CPU_SAMPLING = 
"accounting.enable.thread.cpu.sampling";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_ENABLE_THREAD_MEMORY_SAMPLING = 
"accounting.enable.thread.memory.sampling";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_OOM_PROTECTION_KILLING_QUERY = 
"accounting.oom.enable.killing.query";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_PUBLISHING_JVM_USAGE = 
"accounting.publishing.jvm.heap.usage";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_CPU_TIME_BASED_KILLING_ENABLED = 
"accounting.cpu.time.based.killing.enabled";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_CPU_TIME_BASED_KILLING_THRESHOLD_MS =
-        "accounting.cpu.time.based.killing.threshold.ms";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_PANIC_LEVEL_HEAP_USAGE_RATIO = 
"accounting.oom.panic.heap.usage.ratio";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_CRITICAL_LEVEL_HEAP_USAGE_RATIO = 
"accounting.oom.critical.heap.usage.ratio";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_ALARMING_LEVEL_HEAP_USAGE_RATIO = 
"accounting.oom.alarming.usage.ratio";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_HEAP_USAGE_PUBLISHING_PERIOD_MS = 
"accounting.heap.usage.publishing.period.ms";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_SLEEP_TIME_MS = "accounting.sleep.ms";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_SLEEP_TIME_DENOMINATOR = 
"accounting.sleep.time.denominator";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_MIN_MEMORY_FOOTPRINT_TO_KILL_RATIO =
-        "accounting.min.memory.footprint.to.kill.ratio";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_QUERY_KILLED_METRIC_ENABLED = 
"accounting.query.killed.metric.enabled";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_OOM_PRE_QUERY_KILL_PAUSE_DURATION_MS =
-        "accounting.oom.pre.query.kill.pause.duration.ms";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_OOM_PANIC_ALLOW_PRE_QUERY_KILL_PAUSE =
-        "accounting.oom.panic.allow.pre.query.kill.pause";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_WORKLOAD_ENABLE_COST_COLLECTION = 
"accounting.workload.enable.cost.collection";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_WORKLOAD_ENABLE_COST_ENFORCEMENT =
-        "accounting.workload.enable.cost.enforcement";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_WORKLOAD_ENFORCEMENT_WINDOW_MS = 
"accounting.workload.enforcement.window.ms";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_WORKLOAD_SLEEP_TIME_MS = 
"accounting.workload.sleep.time.ms";
-
     public static final String CONFIG_OF_WORKLOAD_ENABLE_COST_EMISSION =
         "accounting.workload.enable.cost.emission";
     public static final boolean DEFAULT_WORKLOAD_ENABLE_COST_EMISSION = false;
 
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_SECONDARY_WORKLOAD_NAME = 
"accounting.secondary.workload.name";
-    @Deprecated(since = "1.6.0", forRemoval = true)
-    public static final String CONFIG_OF_SECONDARY_WORKLOAD_CPU_PERCENTAGE =
-        "accounting.secondary.workload.cpu.percentage";
     public static final String CONFIG_OF_WORKLOAD_BUDGET_MANAGER_TYPE_NAME =
         "accounting.workload.budget.manager.factory.name";
     public static final String DEFAULT_WORKLOAD_BUDGET_MANAGER_TYPE_NAME = 
"default";
@@ -3207,24 +3138,6 @@ public class CommonConstants {
         "pinot.query.multistage.explain.include.segment.plan";
     public static final boolean 
DEFAULT_OF_MULTISTAGE_EXPLAIN_INCLUDE_SEGMENT_PLAN = false;
 
-    /// Max number of rows operators stored in the op stats cache.
-    /// Although the cache stores stages, each entry has a weight equal to the 
number of operators in the stage.
-    ///
-    /// @deprecated No longer read. The op stats cache it sized was removed 
once its only reader disappeared;
-    /// the key is kept so existing configurations keep starting.
-    @Deprecated
-    public static final String KEY_OF_OP_STATS_CACHE_SIZE = 
"pinot.server.query.op.stats.cache.size";
-    @Deprecated
-    public static final int DEFAULT_OF_OP_STATS_CACHE_SIZE = 10000;
-
-    /// Max time to keep the op stats in the cache.
-    ///
-    /// @deprecated No longer read. See [#KEY_OF_OP_STATS_CACHE_SIZE].
-    @Deprecated
-    public static final String KEY_OF_OP_STATS_CACHE_EXPIRE_MS = 
"pinot.server.query.op.stats.cache.ms";
-    @Deprecated
-    public static final int DEFAULT_OF_OP_STATS_CACHE_EXPIRE_MS = 600 * 1000;
-
     /// Max number of cancelled queries to keep in the cache.
     public static final String KEY_OF_CANCELLED_QUERY_CACHE_SIZE = 
"pinot.server.query.cancelled.cache.size";
     public static final int DEFAULT_OF_CANCELLED_QUERY_CACHE_SIZE = 1000;


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

Reply via email to