dlmarion commented on code in PR #2712:
URL: https://github.com/apache/accumulo/pull/2712#discussion_r874742343
##########
core/src/main/java/org/apache/accumulo/core/conf/Property.java:
##########
@@ -244,9 +244,12 @@ public enum Property {
GENERAL_OPENTELEMETRY_ENABLED("general.opentelemetry.enabled", "false",
PropertyType.BOOLEAN,
"Enables tracing functionality using OpenTelemetry (assuming
OpenTelemetry is configured).",
"2.1.0"),
+ @Deprecated
Review Comment:
This should also have a `@ReplacedBy` annotation
##########
core/src/main/java/org/apache/accumulo/core/util/threads/ThreadPools.java:
##########
@@ -515,7 +519,7 @@ public Future<?> submit(Runnable task) {
public ScheduledThreadPoolExecutor
createGeneralScheduledExecutorService(AccumuloConfiguration conf) {
return (ScheduledThreadPoolExecutor) createExecutorService(conf,
- Property.GENERAL_SIMPLETIMER_THREADPOOL_SIZE, true);
+ Property.GENERAL_THREADPOOL_SIZE, true);
Review Comment:
I'm not sure this is sufficient. The old property is deprecated, not
removed. This means that users may have the old property, and not the new one,
in their configuration. I think you need to check for both and maybe use the
one that has a larger value.
--
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]