Skip to content

Clean up on exception while chunking XContent#92024

Merged
elasticsearchmachine merged 5 commits intoelastic:mainfrom
DaveCTurner:2022-11-30-ChunkedRestResponseBody-exception-paranoia
Nov 30, 2022
Merged

Clean up on exception while chunking XContent#92024
elasticsearchmachine merged 5 commits intoelastic:mainfrom
DaveCTurner:2022-11-30-ChunkedRestResponseBody-exception-paranoia

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

If serializing a chunk throws an exception, we must clean up the chunk before propagating the exception.

If serializing a chunk throws an exception, we must clean up the chunk
before propagating the exception.
@DaveCTurner DaveCTurner added >bug :Distributed/Network Http and internode communication implementations v8.6.1 v8.7.0 labels Nov 30, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @DaveCTurner, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Nov 30, 2022
Copy link
Copy Markdown
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

Looks good, just one question.

This reverts commit 8c61355.
@DaveCTurner
Copy link
Copy Markdown
Member Author

@elasticmachine please run elasticsearch-ci/docs-check

@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport-and-merge labels Nov 30, 2022
@elasticsearchmachine elasticsearchmachine merged commit 4c9b50d into elastic:main Nov 30, 2022
@DaveCTurner DaveCTurner deleted the 2022-11-30-ChunkedRestResponseBody-exception-paranoia branch November 30, 2022 17:31
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Nov 30, 2022
If serializing a chunk throws an exception, we must clean up the chunk
before propagating the exception.
elasticsearchmachine pushed a commit that referenced this pull request Nov 30, 2022
If serializing a chunk throws an exception, we must clean up the chunk
before propagating the exception.
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Dec 2, 2022
* upstream/main: (209 commits)
  Remove unused methods and classes from HLRC (elastic#92030)
  Clean up on exception while chunking XContent (elastic#92024)
  Add profiling plugin (elastic#91640)
  Remove unused methods and classes from HLRC (elastic#92012)
  Remove IndexerState from HLRC (elastic#92023)
  Ensure cached time elapses in ClusterServiceIT (elastic#91986)
  Chunked encoding for RestGetIndicesAction (elastic#92016)
  Simplify shardsWithState (elastic#91991)
  [DOCS] Updates ML decider docs by mentioning CPU as scaling criterion (elastic#92018)
  Add chunking to ClusterState.Custom impls (elastic#91963)
  Speedup time_series agg by caching current tsid ordinal, parent bucket ordinal and buck ordinal (elastic#91784)
  Drop the ingest listener call count tracking (elastic#92003)
  [DOCS] fixes issue number 91889 - missing [discrete] header (elastic#91976)
  Fix PersistentTasksClusterServiceTests (elastic#92002)
  [docs] Update search-settings documentation to reflect the fact that the indices.query.bool.max_clause_count setting has been deprecated (elastic#91811)
  Clarify writability in Netty4HttpPipeliningHandler (elastic#91982)
  Load stable plugins as synthetic modules (elastic#91869)
  Handle any exception thrown while generating source for an IngestDocument (elastic#91981)
  fixing Apache HttpHost url on java-rest doc (elastic#91945)
  Implement repair functionality for aliases colliding with indices bug (elastic#91887)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >bug :Distributed/Network Http and internode communication implementations Team:Distributed Meta label for distributed team. v8.6.1 v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants