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

[IMPROVED] Protect against concurrent creation of streams and consumers. #4013

Merged
merged 5 commits into from Apr 3, 2023

Commits on Apr 2, 2023

  1. Protect against concurrent creation of streams and consumers.

    Also make sure we have exited monotoring routines when doing resets for both streams and consumers.
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    e6447c9 View commit details
    Browse the repository at this point in the history
  2. Make sure to remove any inflight entries when done

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    1fb1efd View commit details
    Browse the repository at this point in the history
  3. Better use of LoadAndStore based on review feedback

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    64b2201 View commit details
    Browse the repository at this point in the history
  4. Fix for flapping test, can return invalid sequence as well

    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    d5ac4d2 View commit details
    Browse the repository at this point in the history
  5. Fix for datarace in healthcheck

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