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

Migrate peer recovery from translog to retention lease #50211

Merged
merged 1 commit into from
Dec 16, 2019

Commits on Dec 16, 2019

  1. Migrate peer recovery from translog to retention lease (elastic#49448)

    Since 7.4, we switch from translog to Lucene as the source of history
    for peer recoveries. However, we reduce the likelihood of
    operation-based recoveries when performing a full cluster restart from
    pre-7.4 because existing copies do not have PPRL.
    
    To remedy this issue, we fallback using translog in peer recoveries if
    the recovering replica does not have a peer recovery retention lease,
    and the replication group hasn't fully migrated to PRRL.
    
    Relates elastic#45136
    dnhatn committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    a02fc62 View commit details
    Browse the repository at this point in the history