Streamline ShardDeleteResults collection#140363
Merged
DaveCTurner merged 5 commits intoelastic:mainfrom Jan 9, 2026
Merged
Conversation
We expect this to be pretty large sometimes, its lifespan is limited, and there won't be very many of them active at once, so we may as well allocate entire pages with a `RecyclerBytesStreamOutput` instead of using the frequent resizing of the `BigArrays` underneath the `ReleasableBytesStreamOutput`. Also migrates to using the new `BufferedStreamOutput` instead of the relatively inefficient `OutputStreamStreamOutput` adapter.
Collaborator
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
szybia
added a commit
to szybia/elasticsearch
that referenced
this pull request
Jan 9, 2026
* upstream/main: (76 commits) [Inference API] Get _services skips EIS authorization call if CCM is not configured (elastic#139964) Improve TSDB codec benchmarks with full encoder and compression metrics (elastic#140299) ESQL: Consolidate test `BlockLoaderContext`s (elastic#140403) ESQL: Improve Lookup Join performance with CachedDirectoryReader (elastic#139314) ES|QL: Add more examples for the match operator (elastic#139815) ESQL: Add timezone to add and sub operators, and ConfigurationAware planning support (elastic#140101) ESQL: Updated ToIp tests and generated documentation for map parameters (elastic#139994) Disable _delete_by_query and _update_by_query for CCS/stateful (elastic#140301) Remove unused method ElasticInferenceService.translateToChunkedResults (elastic#140442) logging hot threads on large queue of the management threadpool (elastic#140251) Search functions docs cleanup (elastic#140435) Unmute 350_point_in_time/point-in-time with index filter (elastic#140443) Remove unused methods (elastic#140222) Add CPS and `project_routing` support for `_mvt` (elastic#140053) Streamline `ShardDeleteResults` collection (elastic#140363) Fix Docker build to use --load for single-platform images (elastic#140402) Parametrize + test VectorScorerOSQBenchmark (elastic#140354) `RecyclerBytesStreamOutput` using absolute offsets (elastic#140303) Define bulk float native methods for vector scoring (elastic#139885) Make `TimeSeriesAggregate` `TimestampAware` (elastic#140270) ...
jimczi
pushed a commit
to jimczi/elasticsearch
that referenced
this pull request
Jan 12, 2026
We expect this to be pretty large sometimes, its lifespan is limited, and there won't be very many of them active at once, so we may as well allocate entire pages with a `RecyclerBytesStreamOutput` instead of using the frequent resizing of the `BigArrays` underneath the `ReleasableBytesStreamOutput`. Also migrates to using the new `BufferedStreamOutput` instead of the relatively inefficient `OutputStreamStreamOutput` adapter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We expect this to be pretty large sometimes, its lifespan is limited,
and there won't be very many of them active at once, so we may as well
allocate entire pages with a
RecyclerBytesStreamOutputinstead ofusing the frequent resizing of the
BigArraysunderneath theReleasableBytesStreamOutput.Also migrates to using the new
BufferedStreamOutputinstead of therelatively inefficient
OutputStreamStreamOutputadapter.