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

Support if_seq_no and if_primary_term for ingest #55430

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

mariaral
Copy link
Contributor

Allow for optimistic concurrency control during ingest by checking the
sequence number and primary term. This is accomplished by defining
_if_seq_no and _if_primary_term in the pipeline, similarly to _version
and _version_type.

Closes #41255

Allow for optimistic concurrency control during ingest by checking the
sequence number and primary term. This is accomplished by defining
`_if_seq_no` and `_if_primary_term` in the pipeline, similarly to `_version`
and `_version_type`.

Closes elastic#41255
@cbuescher cbuescher added the :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP label Apr 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Ingest)

@jakelandis jakelandis self-requested a review April 23, 2020 14:08
@jakelandis
Copy link
Contributor

@elasticmachine ok to test

@jakelandis
Copy link
Contributor

@elasticmachine update branch

@rjernst rjernst added the Team:Data Management Meta label for data/management team label May 4, 2020
@jakelandis
Copy link
Contributor

@elasticmachine update branch

@jakelandis
Copy link
Contributor

@mariaral - thanks for the contribution - the changes look good! (sorry it so long to review) I will get this merged in and back ported to 7.x

@jakelandis jakelandis merged commit 7c0b996 into elastic:master Jun 5, 2020
jakelandis pushed a commit to jakelandis/elasticsearch that referenced this pull request Jun 5, 2020
Allow for optimistic concurrency control during ingest by checking the
sequence number and primary term. This is accomplished by defining
`_if_seq_no` and `_if_primary_term` in the pipeline, similarly to `_version`
and `_version_type`.

Closes elastic#41255
jakelandis added a commit that referenced this pull request Jun 9, 2020
…57768)

Allow for optimistic concurrency control during ingest by checking the
sequence number and primary term. This is accomplished by defining
_if_seq_no and _if_primary_term in the pipeline, similarly to _version
and _version_type.

Closes #41255
Co-authored-by: Maria Ralli <[email protected]>
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 >enhancement Team:Data Management Meta label for data/management team v7.9.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for if_seq_no and if_primary_term to ingest
6 participants