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

Implement single node downgrades #13405

Merged
merged 6 commits into from
Oct 29, 2021
Merged

Implement single node downgrades #13405

merged 6 commits into from
Oct 29, 2021

Commits on Oct 29, 2021

  1. server: Depend only on cluster version to detect downgrade

    Problem with old code was that during downgrade only members with
    downgrade target version were allowed to join. This is unrealistic as
    it doesn't handle any members to disconnect/rejoin.
    serathius committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    758fc0f View commit details
    Browse the repository at this point in the history
  2. server: Detect when WAL includes unapplied cluster version set to hig…

    …her version
    
    This is because etcd v3.5 will panic when it encounters
    ClusterVersionSet entry with version >3.5.0. For downgrades to v3.5 to
    work we need to make sure this entry is snapshotted.
    serathius committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    f5d71fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    335dc98 View commit details
    Browse the repository at this point in the history
  4. server: Implement storage downgrades

    By validating if WAL doesn't include any incompatible entries we can
    implement storage downgrades.
    serathius committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    431adc5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c2be08 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9d47a97 View commit details
    Browse the repository at this point in the history