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

raftstore-v2: support tracing peer lifetime #14056

Merged
merged 11 commits into from Feb 3, 2023

Commits on Jan 16, 2023

  1. raftstore-v2: support tracing peer lifetime

    In V1, a peer is responsible to destroy itself. The design is to make leader
    do less work and reduce writes. But from the practice of the pass years, not
    making it a strong guarantee actually makes the implementation complicated
    and hard to be correct and difficult to understand.
    
    In V2, we changes to make leader the very role to make sures all removed
    peers or merged peers must be destroyed in the end. Push mode is way easier
    to understand and implement correctly. The downside is extra writes are
    introduced but it's worthy.
    
    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 16, 2023
    Copy the full SHA
    868f1cd View commit details
    Browse the repository at this point in the history
  2. fix copr

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 16, 2023
    Copy the full SHA
    ef3a2bb View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Merge branch 'master' into introduce-gc-peers

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 29, 2023
    Copy the full SHA
    e70ea42 View commit details
    Browse the repository at this point in the history
  2. fix test

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 29, 2023
    Copy the full SHA
    68290d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. address comment

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 30, 2023
    Copy the full SHA
    84f0957 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. address comment

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 31, 2023
    Copy the full SHA
    7c0246c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into introduce-gc-peers

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Jan 31, 2023
    Copy the full SHA
    b227f9f View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Copy the full SHA
    a42a587 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into introduce-gc-peers

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Feb 3, 2023
    Copy the full SHA
    45bd91c View commit details
    Browse the repository at this point in the history
  3. fix clippy

    Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
    BusyJay committed Feb 3, 2023
    Copy the full SHA
    df107c5 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a5b9ef9 View commit details
    Browse the repository at this point in the history