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

Do not run check in cets_discovery on nodedown #50

Merged
merged 13 commits into from
Mar 4, 2024
Merged

Commits on Jan 31, 2024

  1. Do not run check on nodedown in cets_disco

    When a node goes down, it would be kicked from other nodes in the cluster
    by global. This process in not instant. This process happens even
    if node is alive and could reconnect.
    
    Reconnecting too fast would interfere with prevent_overlapped_partitions logic
    though.
    
    We still allow for this node to reconnect, but only during the regular checks.
    The change temporary puts the node into unavalable_nodes list though
    arcusfelis committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    71af85d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c522d63 View commit details
    Browse the repository at this point in the history
  3. Add new retry_type after_nodedown

    This allows us to try to reconnect to the remote node
    after some period of time after the netsplit.
    
    Enters regular phase once we contact the remote node.
    arcusfelis committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    7cb7316 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0f16de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f704fda View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    87246cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    469f177 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85e91ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43d8ba7 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

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

Commits on Feb 28, 2024

  1. Test retry_type result

    arcusfelis committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    eddf756 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Make stopping CETS gen_servers more reliable

    Call peer to stop the processes
    Use proc_lib to spawn processes for better error reporting in tests
    arcusfelis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    30f0452 View commit details
    Browse the repository at this point in the history
  2. Add cleanup table for tests

    More reliable disconnect_node in tests
    Link disco process in tests
    arcusfelis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    fbaf1d8 View commit details
    Browse the repository at this point in the history