-
Notifications
You must be signed in to change notification settings - Fork 186
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
Nats discard policy "new" #7231
Comments
Discard Policy is actually expected to be set to "new" for stores. If the store is "full" it should reject new entries and error |
will be supersed if #7272 is implemented |
Caches should have Discard Policy "old" eg storage-users don't have it yet:
|
I'm afraid changing the discard policy is not possible. According to https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-8.md#buckets a KeyValue store is a stream where
|
See above. |
Describe the bug
The oCIS nats store does create streams with discard policy "new"
This currently does not have any bad effect because oCIS is not setting limits on a stream, but if somebody enforces limits policy "new" might not be what we want
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Discard policy should be "old"
Actual behavior
Discard policy is "new"
Setup
I was using the ocis-nats deployment example for k8s.
The text was updated successfully, but these errors were encountered: