nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
187 stars 20 forks source link

[change] ADR-8 document purge deletes #73

Closed scottf closed 2 years ago

ripienaar commented 2 years ago

Just wondering why we don't just overload Purge(key) to do this - ie Purge("")

This is purge without tombstones that breaks watchers. Derek was concerned that if someone deletes/purges 100s or 1000s of keys they end up with 1000s of tombstones. This is essentially a admin maintenance rather than general use function.

That's why its not in the ADR since its largely there to help the CLI offer the facilty.