mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
The `JSStreamNameExistErr` will now include in the description that the stream exists with a different configuration, because that is the error clients would get when trying to add a stream with a different configuration (otherwise this is a no-op and client don't get an error). Since that error was used in case of restore, a new error is added but uses the same description prefix "stream name already in use" but adds ", cannot restore" to indicate that this is a restore failure because the stream already exists. Resolves #3273 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
30 KiB
30 KiB