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

Add use-create option to fail dups #1458

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Mar 14, 2022

This adds an option to the bulk operation to force using
Elasticsearch's create operation instead of index operation. We
already were sending this operation when indexing into data streams. But
this gives us the option when indexing into regular indices as well.

@nik9000
Copy link
Member Author

nik9000 commented Mar 14, 2022

I'm making this as draft without and tests or docs so folks can have a look and decide if its worth doing. I want this option enabled in the tsdb track so I can detect when I have a bad configuration. I used this to find the errors I fixed in elastic/rally-tracks#251

This adds an option to the `bulk` operation to force using
Elasticsearch's `create` operation instead of `index` operation. We
already were sending this operation when indexing into data streams. But
this gives us the option when indexing into regular indices as well.
@pquentin
Copy link
Member

This is worth doing, yes!

@pquentin
Copy link
Member

@elasticmachine update branch

@pquentin
Copy link
Member

@nik9000 Are you still interested in working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants