A KeyValue stream's max messages per subject isn't being respected after updating the stream's max messages per subject to be smaller than before #4445
Labels
defect
Suspected defect such as a bug or regression
What version were you using?
2.9.21
What environment was the server running in?
Mac M1
Is this defect reproducible?
Yes, this is reproducible. Run a nats server with jetstream enabled and then run the following test:
Given the capability you are leveraging, describe your expectation?
My expectation is that after updating the Max Messages Per Subject for the Stream, the corresponding KeyValue should contain the updated amount of history
Given the expectation, what is the defect you are observing?
After updating the stream associated with the KV, it is storing more history than it should be storing.
The text was updated successfully, but these errors were encountered: