-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Problem / Use Case
Whenever an account has Jetstream enabled and the account is deleted, the NATS health checks will start failing due to NATS trying to recover the data.
See issue: nats-io/nats-server#3186
Proposal
Since NAuth is aiming at deploying NATS multi-tenancy in a declarative approach, NAuth should not simply purge the Jetstream data upon account deletion.
The user could be using NACK or by simply using the CLI to create the jetstreams, so it is up to the user to manage the life cycle of the jetstreams.
- NAuth should validate if the account has been cleared of jetstreams before removing the account.
- The account should not be deleted until all data within the account has been removed
- The condition and events should clearly state this
Reactions are currently unavailable