Skip to content

Introduce EngineBatch abstraction#154917

Open
Tim-Brooks wants to merge 7 commits into
elastic:mainfrom
Tim-Brooks:introduce_engine_batch
Open

Introduce EngineBatch abstraction#154917
Tim-Brooks wants to merge 7 commits into
elastic:mainfrom
Tim-Brooks:introduce_engine_batch

Conversation

@Tim-Brooks

Copy link
Copy Markdown
Contributor

Replaces the two-argument indexBatch(List, SourceBatch) on
Engine and IndexShard with a single EngineBatch record. No behavior
change — callers and overrides are updated mechanically. This
unblocks swapping the internal batch representation in a follow-on PR.

Replaces the two-argument indexBatch(List<Index>, SourceBatch) on
Engine and IndexShard with a single EngineBatch record. No behavior
change — callers and overrides are updated mechanically. This
unblocks swapping the internal batch representation in a follow-on PR.
@Tim-Brooks Tim-Brooks added >non-issue :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v9.6.0 labels Jul 24, 2026
@Tim-Brooks
Tim-Brooks requested a review from joegallo July 24, 2026 05:10
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Jul 24, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

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

@Tim-Brooks

Copy link
Copy Markdown
Contributor Author

This is a first step to pare down this follow-up PR just a bit: #154782.

@joegallo

Copy link
Copy Markdown
Contributor

The test failures here that show up in the Flakiness Summary are due to #149623, at least by my read (and don't need to be addressed as part of this PR).

@joegallo joegallo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah, nice, it's going to be great to have the batch and operations merged together. 🚀

@joegallo

Copy link
Copy Markdown
Contributor

I merged in main to see if we'll get luckier with a new round of CI. 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >non-issue Team:Distributed Meta label for distributed team. v9.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants