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

Simplify bulk request execution #20109

Merged
merged 24 commits into from Oct 12, 2016
Merged

Commits on Aug 23, 2016

  1. 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.
    areek committed Aug 23, 2016
    Copy the full SHA
    80ca784 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2016

  1. 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.
    areek committed Sep 1, 2016
    Copy the full SHA
    cc993de View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    14908f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2016

  1. Copy the full SHA
    248ac24 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2016

  1. Copy the full SHA
    bd4a03a View commit details
    Browse the repository at this point in the history
  2. ensure bwc wire compatibility

    areek committed Oct 4, 2016
    Copy the full SHA
    40b4f39 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2016

  1. Copy the full SHA
    9b691f0 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2016

  1. cleanup

    areek committed Oct 6, 2016
    Copy the full SHA
    57d8025 View commit details
    Browse the repository at this point in the history
  2. 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.
    areek committed Oct 6, 2016
    Copy the full SHA
    eee0d18 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b5079ce View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    42bc2d1 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2a651fc View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2016

  1. Revert "remove duplicate logic for request resolution and routing ver…

    …ification"
    
    This reverts commit 2a651fc.
    areek committed Oct 7, 2016
    Copy the full SHA
    5bbdcd6 View commit details
    Browse the repository at this point in the history
  2. Revert "fix bug in bulk replication for noop update operation"

    This reverts commit 42bc2d1.
    areek committed Oct 7, 2016
    Copy the full SHA
    68c82cd View commit details
    Browse the repository at this point in the history
  3. Revert "rename DocumentRequest to DocumentWriteRequest"

    This reverts commit b5079ce.
    areek committed Oct 7, 2016
    Copy the full SHA
    396f80c View commit details
    Browse the repository at this point in the history
  4. Revert "Make update a replication action"

    This reverts commit eee0d18.
    areek committed Oct 7, 2016
    Copy the full SHA
    97a6756 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c747085 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    9d48248 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    fe50db2 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2016

  1. Copy the full SHA
    225a04b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    661067d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    0e8b653 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    481f790 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2016

  1. Copy the full SHA
    133be66 View commit details
    Browse the repository at this point in the history