Skip to content

Conversation

@salvatore-campagna
Copy link
Contributor

This PR is the same as #95740 but also includes using the new "serverless-compatible" TransportVersion and the new version added according to our bumping rules. The previous PR was reverted by #96204 because it was breaking serverless.

Extend the Index Stats API to include information about shard idleness.
To be more precise we include two pieces of info:
* a boolean indicating if a shard is idle at the moment the API call takes place
* a long value indicating the time in milliseconds the shard has been search idle
  since the last time it went into search idle state
@salvatore-campagna salvatore-campagna self-assigned this May 18, 2023
@salvatore-campagna salvatore-campagna added >enhancement :Search/Search Search-related issues that do not fall into other categories :StorageEngine/TSDB You know, for Metrics v8.9.0 labels May 18, 2023
@elasticsearchmachine elasticsearchmachine added Team:Search Meta label for search team Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels May 18, 2023
@elasticsearchmachine
Copy link
Collaborator

Hi @salvatore-campagna, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@salvatore-campagna salvatore-campagna requested review from martijnvg and removed request for martijnvg May 18, 2023 09:16
public static final TransportVersion V_8_500_000 = registerTransportVersion(8_500_000, "dc3cbf06-3ed5-4e1b-9978-ee1d04d235bc");
public static final TransportVersion V_8_500_001 = registerTransportVersion(8_500_001, "c943cfe5-c89d-4eae-989f-f5f4537e84e0");
public static final TransportVersion V_8_500_002 = registerTransportVersion(8_500_002, "055dd314-ff40-4313-b4c6-9fccddfa42a8");
public static final TransportVersion V_8_500_003 = registerTransportVersion(8_500_003, "179e81fd-c65b-4d87-b739-fa35cc3d4ee9");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder why the previous one was included but never used.

Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why the previous one was included but never used.

It's used in serverless.

@salvatore-campagna
Copy link
Contributor Author

@salvatore-campagna test this please

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

👍

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

Labels

>enhancement :Search/Search Search-related issues that do not fall into other categories :StorageEngine/TSDB You know, for Metrics Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Search Meta label for search team v8.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants