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
Simplify bulk request execution #20109
Commits on Aug 23, 2016
-
Make bulk item-level requests implement DocumentRequest interface
Currently, bulk item requests can be any ActionRequest, this commit restricts bulk item requests to DocumentRequest. This simplifies handling failures during bulk requests. Additionally, a new enum is added to DocumentRequest to represent the intended operation to be performed by a document request. Now, index operation type also uses the new enum to specify whether the request should create or index a document.
Commits on Sep 1, 2016
-
Simplify shard-level bulk operation execution
This commit refactors execution of shard-level bulk operations to use the same failure handling for index, delete and update operations.
Commits on Oct 3, 2016
Commits on Oct 4, 2016
Commits on Oct 5, 2016
Commits on Oct 6, 2016
-
Make update a replication action
Currently, update action delegates to index and delete actions for replication using a dedicated transport action. This change makes update a replication operation, removing the dedicated transport action. This simplifies bulk execution and removes duplicate logic for update retries and translation. This consolidates the interface for single document write requests. Now on the primary, the update request is translated to an index or delete request before execution and the translated request is sent to copies for replication.
-
-
Commits on Oct 7, 2016
-
Revert "remove duplicate logic for request resolution and routing ver…
…ification" This reverts commit 2a651fc.
-
Revert "fix bug in bulk replication for noop update operation"
This reverts commit 42bc2d1.
-
Revert "rename DocumentRequest to DocumentWriteRequest"
This reverts commit b5079ce.
-
-
-