Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,6 @@ tests:
- class: org.elasticsearch.xpack.sql.action.SqlSearchPageTimeoutIT
method: testSearchContextIsCleanedUpAfterPageTimeoutForAggregationQueries
issue: https://github.com/elastic/elasticsearch/issues/132619
- class: org.elasticsearch.repositories.SnapshotMetricsIT
method: testSnapshotAPMMetrics
issue: https://github.com/elastic/elasticsearch/issues/132672
- class: org.elasticsearch.xpack.ml.integration.TextEmbeddingQueryIT
method: testHybridSearch
issue: https://github.com/elastic/elasticsearch/issues/132703
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,6 @@ protected void doRun() {
() -> snapshotListeners.addListener(new ActionListener<>() {
@Override
public void onResponse(List<ActionListener<SnapshotInfo>> actionListeners) {
SnapshotsServiceUtils.completeListenersIgnoringException(actionListeners, snapshotInfo);
final Map<String, Object> attributesWithState = Maps.copyMapWithAddedEntry(
SnapshotMetrics.createAttributesMap(snapshot.getProjectId(), repo.getMetadata()),
"state",
Expand All @@ -1241,6 +1240,7 @@ public void onResponse(List<ActionListener<SnapshotInfo>> actionListeners) {
snapshotMetrics.snapshotsCompletedCounter().incrementBy(1, attributesWithState);
snapshotMetrics.snapshotsDurationHistogram()
.record((snapshotInfo.endTime() - snapshotInfo.startTime()) / 1_000.0, attributesWithState);
SnapshotsServiceUtils.completeListenersIgnoringException(actionListeners, snapshotInfo);
logger.info("snapshot [{}] completed with state [{}]", snapshot, snapshotInfo.state());
}

Expand Down