Skip to content

Commit 5679795

Browse files
authored
Change vectors.indexing.use_gpu to be assumed (#138291)
We would like to exclude the GPU plugin from serverless, to avoid any potential issue, at least provisionally. In order to do that however we need to "remove" the cluster feature: no plugin, no cluster feature. This can be done by marking the feature as assumed; this way, after the next release cycle, the feature can be removed. The cluster will act as it is always there, but with no plugin it will effectively not be there.
1 parent 33ebf40 commit 5679795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/gpu/src/main/java/org/elasticsearch/xpack/gpu/GPUFeatures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
public class GPUFeatures implements FeatureSpecification {
1616

17-
public static final NodeFeature VECTORS_INDEXING_USE_GPU = new NodeFeature("vectors.indexing.use_gpu");
17+
public static final NodeFeature VECTORS_INDEXING_USE_GPU = new NodeFeature("vectors.indexing.use_gpu", true);
1818

1919
@Override
2020
public Set<NodeFeature> getFeatures() {

0 commit comments

Comments
 (0)