Skip to content

Conversation

JeremyDahlgren
Copy link
Contributor

The test was seeing the snapshot is no longer in progress but the snapshot completed metrics had not been updated yet.

Moves the new code added in #130301 that updates the snapshot completed metrics to before the snapshot listeners are completed. This mirrors how the listener is completed after the snapshot started metric is updated.

Resolves: #132672

Moves the new code that updates the snapshot completed metrics
to before the snapshot listeners are completed.  This mirrors
how the listener is completed after the snapshot started metric
is updated.

Resolves: elastic#132672
@JeremyDahlgren JeremyDahlgren added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0 labels Aug 11, 2025
@JeremyDahlgren JeremyDahlgren marked this pull request as ready for review August 11, 2025 19:25
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@nicktindall nicktindall left a comment

Choose a reason for hiding this comment

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

Good pick up, good fix, thanks @JeremyDahlgren !

Copy link
Contributor

@joshua-adams-1 joshua-adams-1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@JeremyDahlgren JeremyDahlgren enabled auto-merge (squash) August 12, 2025 12:13
@JeremyDahlgren JeremyDahlgren merged commit 3a5bafd into elastic:main Aug 12, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination Meta label for Distributed Coordination team >test Issues or PRs that are addressing/adding tests v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SnapshotMetricsIT testSnapshotAPMMetrics failing
4 participants