Skip to content

Commit dadf875

Browse files
authored
Push removal of search workers pool setting to v10 (elastic#118877)
The search workers thread pool has been removed in 8.16. We still support parsing its size and queue size settings, to prevent issues upon upgrade for users that may have customized them. We will provide such compatibility for the entire 9.x series.
1 parent 1004da2 commit dadf875

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

server/src/main/java/org/elasticsearch/node/NodeConstruction.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
import org.elasticsearch.core.SuppressForbidden;
8484
import org.elasticsearch.core.TimeValue;
8585
import org.elasticsearch.core.Tuple;
86-
import org.elasticsearch.core.UpdateForV9;
86+
import org.elasticsearch.core.UpdateForV10;
8787
import org.elasticsearch.discovery.DiscoveryModule;
8888
import org.elasticsearch.env.Environment;
8989
import org.elasticsearch.env.NodeEnvironment;
@@ -553,9 +553,10 @@ private SettingsModule validateSettings(Settings envSettings, Settings settings,
553553
return settingsModule;
554554
}
555555

556-
@UpdateForV9(owner = UpdateForV9.Owner.SEARCH_FOUNDATIONS)
556+
@UpdateForV10(owner = UpdateForV10.Owner.SEARCH_FOUNDATIONS)
557557
private static void addBwcSearchWorkerSettings(List<Setting<?>> additionalSettings) {
558-
// TODO remove the below settings, they are unused and only here to enable BwC for deployments that still use them
558+
// Search workers thread pool has been removed in Elasticsearch 8.16.0. These settings are deprecated and take no effect.
559+
// They are here only to enable BwC for deployments that still use them
559560
additionalSettings.add(
560561
Setting.intSetting("thread_pool.search_worker.queue_size", 0, Setting.Property.NodeScope, Setting.Property.DeprecatedWarning)
561562
);

0 commit comments

Comments
 (0)