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

[FIXES/IMPROVED] Raft and filestore logic #4045

Merged
merged 6 commits into from Apr 13, 2023
Merged

[FIXES/IMPROVED] Raft and filestore logic #4045

merged 6 commits into from Apr 13, 2023

Commits on Apr 12, 2023

  1. Basic raft tests

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    340fcc9 View commit details
    Browse the repository at this point in the history
  2. Add in raft test helper

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    f41e5d8 View commit details
    Browse the repository at this point in the history
  3. Fix bad unlock which could cause crash

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    a92bb9f View commit details
    Browse the repository at this point in the history
  4. On failure to send snapshot to follower, also reset, and on reset mak…

    …e sure to reset term
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    808a2e8 View commit details
    Browse the repository at this point in the history
  5. Delay a bit longer if we are not the actual leader, helpful for very …

    …large stream reports to avoid possible dupes
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    2f4677d View commit details
    Browse the repository at this point in the history
  6. Make sure we have a correct next first after expiring on startup

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    e6eaed4 View commit details
    Browse the repository at this point in the history