When consumers were R1 and the same name was reused, server restarts could try to cleanup old ones and effect the new ones.

These changes allow consumer name reuse more effectively during server restarts.

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-06-05 12:48:18 -07:00
parent 64e3bf82ed
commit 4ac45ff6f3
5 changed files with 109 additions and 7 deletions

2
go.mod
View File

@@ -6,7 +6,7 @@ require (
github.com/klauspost/compress v1.16.5
github.com/minio/highwayhash v1.0.2
github.com/nats-io/jwt/v2 v2.4.1
github.com/nats-io/nats.go v1.24.0
github.com/nats-io/nats.go v1.26.0
github.com/nats-io/nkeys v0.4.4
github.com/nats-io/nuid v1.0.1
go.uber.org/automaxprocs v1.5.1