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

feat: reimplement curp client keep alive #1006

Draft
wants to merge 11 commits into
base: refactor-curp-client
Choose a base branch
from

Commits on Oct 9, 2024

  1. feat: add auto reconnect implementation for curp client

    This PR add the auto reconnect implementation for curp client, as a
    workaround for hyperium/tonic#1254.
    
    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    fd409a5 View commit details
    Browse the repository at this point in the history
  2. refactor: reimplement curp client state

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d3ba151 View commit details
    Browse the repository at this point in the history
  3. refactor: add new to Config

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0ed2d5b View commit details
    Browse the repository at this point in the history
  4. feat: implement map functions for ClusterState

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    98e5fca View commit details
    Browse the repository at this point in the history
  5. feat: implement get_quorum method for ClusterState

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2dd55fc View commit details
    Browse the repository at this point in the history
  6. chore: rename state.rs to cluster_state.rs

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    73620fa View commit details
    Browse the repository at this point in the history
  7. chore: move cluster_state to upper level

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    62b4aba View commit details
    Browse the repository at this point in the history
  8. chore: remove mutable methods from ClusterState

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    c6a5095 View commit details
    Browse the repository at this point in the history
  9. fix: curp client config

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0d4c50c View commit details
    Browse the repository at this point in the history
  10. feat: reimplement fetch cluster

    Signed-off-by: bsbds <[email protected]>
    
    chore: move fetch_impl to upper level
    
    chore: move config.rs to upper level
    
    Signed-off-by: bsbds <[email protected]>
    
    refactor: client fetch
    
    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9c4c059 View commit details
    Browse the repository at this point in the history
  11. refactor: curp client lease keep alive

    Signed-off-by: bsbds <[email protected]>
    bsbds committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9be2253 View commit details
    Browse the repository at this point in the history