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

Engine - Do not store operations that are not index into lucene in the translog (5.x only) #25592

Merged
merged 8 commits into from
Jul 10, 2017

Commits on Jul 6, 2017

  1. Engine - Do not store operations that are not index into lucene in th…

    …e translog
    
    When a replica processes out of order operations, it can drop some due to version comparisons. In the past that would have resulted in a VersionConflictException being thrown and ignored higher up. We changed this to have a cleaner flow that doesn't use exceptions. However, when backporting that change from master, we also back ported a change that isn't good for 5.x: we started storing these out of order ops in the translog. This is needed for the sequence number push, which also gives us some mechanism to deal with it later on during recovery. With the seq# this is not needed and can lead to deletes being lost (see test).
    bleskes committed Jul 6, 2017
    Configuration menu
    Copy the full SHA
    bafb5f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2253be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5662450 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09b3ee1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b63c4f View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2017

  1. Configuration menu
    Copy the full SHA
    2dcf08c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2017

  1. feedback

    bleskes committed Jul 10, 2017
    Configuration menu
    Copy the full SHA
    c6bc91c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbc8a98 View commit details
    Browse the repository at this point in the history