Skip to content

Conversation

@jonathan-buttner
Copy link
Contributor

@jonathan-buttner jonathan-buttner commented Dec 5, 2025

This PR removes the feature flag guarding the CCM functionality and sets the default to true. This is so ECE and on-prem do not need to set the anything in their elasticsearch.yml file, it will be enabled by default. In ECH and serverless we will disable it explicitly.

Comment on lines 37 to 45
private static final MockElasticInferenceServiceAuthorizationServer mockEISServer =
new MockElasticInferenceServiceAuthorizationServer();

static {
// Ensure that the mock EIS server has an authorized response for each node that will be upgraded prior to the cluster starting
for (int i = 0; i < NODE_NUM; i++) {
mockEISServer.enqueueAuthorizeAllModelsResponse();
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than using this static block, would it be neater to add an int constructor argument to MockElasticInferenceServiceAuthorizationServer that causes enqueueAuthorizeAllModelsResponse() to be called that many times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants