Skip to content

Commit

Permalink
Per request latency onPhaseEnd fix (#10934) (#11218)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 379acf3)

Signed-off-by: David Z <38449481+dzane17@users.noreply.github.com>
  • Loading branch information
dzane17 authored Nov 16, 2023
1 parent 3ebd134 commit a6748e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Fixed
- Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API ([#10101](https://github.com/opensearch-project/OpenSearch/pull/10101))
- Fix per request latency last phase not tracked ([#10934](https://github.com/opensearch-project/OpenSearch/pull/10934))
- Adding version condition while adding geoshape doc values to the index, to ensure backward compatibility.([#11095](https://github.com/opensearch-project/OpenSearch/pull/11095))
- Fix SuggestSearch.testSkipDuplicates by forcing refresh when indexing its test documents ([#11068](https://github.com/opensearch-project/OpenSearch/pull/11068))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ public void sendSearchResponse(InternalSearchResponse internalSearchResponse, At
searchContextId = null;
}
}
onPhaseEnd();
listener.onResponse(buildSearchResponse(internalSearchResponse, failures, scrollId, searchContextId));
}
onPhaseEnd();
setCurrentPhase(null);
}

Expand Down

0 comments on commit a6748e0

Please sign in to comment.