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

Push back on bulk operations #51035

Conversation

henningandersen
Copy link
Contributor

@henningandersen henningandersen commented Jan 15, 2020

Bulk is now nearly fully async, which means it drains its queue faster
leading to potentially many active operations waiting for transport
responses, fsync or other events.

This commit limits the amount of active bulk operations to queue-size +
max-threads, reestablishing some of the push back.

This also helps not overflood the master with dynamic mapping requests
(though this is not an issue after #51038).

Bulk is now nearly fully async, which means it drains its queue faster
leading to potentially many active operations waiting for transport
responses, fsync or other events.

This commit limits the amount of active bulk operations to queue-size +
max-threads, reestablishing push back as if bulk were blocking.

This also helps not overflood the master with dynamic mapping requests.
@henningandersen henningandersen added >bug WIP :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.0.0 v7.6.0 labels Jan 15, 2020
@elasticmachine
Copy link
Collaborator

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

@polyfractal polyfractal added v7.7.0 and removed v7.6.0 labels Jan 15, 2020
@henningandersen
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/2

@bpintea bpintea added v7.8.0 and removed v7.7.0 labels Mar 25, 2020
@rjernst rjernst added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label May 4, 2020
@henningandersen
Copy link
Contributor Author

Superseded by #59263.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants