Skip to content

Conversation

DiannaHohensee
Copy link
Contributor

@DiannaHohensee DiannaHohensee commented Oct 8, 2025

The NodeUsageStats* Action will now be unconditionally called
every 30 seconds, regardless of the write load decider being
enabled. It is a lightweight action that fetches stats that
are collected on the node regardless. This supports better
seeing what happens when the write load decider is enabled,
providing a before- (not just after) enablement picture.

ES-12631

The NodeUsageStats Action will not be unconditionally called
every 30 seconds, regardless of the write load decider being
enabled. It is a lightweight action that fetches stats that
are collected on the node regardless. This supports better
seeing what happens when the write load decider is enabled,
providing a before- (not just after) enablement picture.

ES-12631
@DiannaHohensee DiannaHohensee self-assigned this Oct 8, 2025
@DiannaHohensee DiannaHohensee added >non-issue :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0 labels Oct 8, 2025
@DiannaHohensee DiannaHohensee marked this pull request as ready for review October 8, 2025 17:09
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@DiannaHohensee DiannaHohensee marked this pull request as draft October 8, 2025 17:13
@DiannaHohensee DiannaHohensee force-pushed the 2025/10/08/ES-12631-enable-stats branch from 57d1d26 to 9948453 Compare October 8, 2025 19:13
randomBoolean()
? WriteLoadConstraintSettings.WriteLoadDeciderStatus.ENABLED
: WriteLoadConstraintSettings.WriteLoadDeciderStatus.LOW_THRESHOLD_ONLY
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this change mean the above test is invalid (i.e. we should always fetch the node usage stats)?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah the test is indeed broken. LGTM when this is fixed.

@DiannaHohensee DiannaHohensee marked this pull request as ready for review October 9, 2025 19:57
@DiannaHohensee DiannaHohensee merged commit 7403ca9 into elastic:main Oct 9, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0 v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants