mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
When adding or updating sources/mirrors, server was checking if the stream with a given name exists to check for subject overlaps, among other things. However, if sourced/mirrored stream was `External`, checks should not be executed, as not only stream would never be found, but also, if `External` stream had the same name as the sourcing stream, the check would be wrongly performed against itself. Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
144 KiB
144 KiB