Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding TransportSimulateShardBulkAction #108795

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented May 17, 2024

This adds a TransportSimulateShardBulkAction, meant to be used in simulate ingest in place of TransportShardBulkAction. This delegates virtually all of its logic to TransportShardBulkAction. However, TransportShardBulkAction is a WriteAction and TransportSimulateShardBulkAction is not -- TransportSimulateShardBulkAction does not change state in any way (cluster state, shards, or translog). Since it does not write to shards, it does not need to perform a refresh.

This PR does not actually wire TransportSimulateShardBulkAction up for use by the simulate ingest API (or anything else). See #106440 for the full draft where it is called by BulkOperation (which is called due to the changes in TransportSimulateBulkAction in that PR).

Relates to #108791

@masseyke masseyke added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue labels May 21, 2024
@masseyke masseyke marked this pull request as ready for review May 21, 2024 00:26
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label May 21, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@parkertimmins parkertimmins left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

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

Sorry for the delay here, this is on my radar to get to but have not found the time yet.

@henningandersen henningandersen self-requested a review May 22, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants