emqx/changes/ce/fix-10107.zh.md

9 lines
607 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

现在对桥接的 API 进行调用时,如果 `bridge-id` 不存在,将会返回 `404`,而不再是`400`。
然后,还修复了这种情况下,在节点级别上进行 API 调用时,可能导致崩溃的问题。
另外,在启动某个桥接时,会先检查指定桥接是否已启用。
受影响的接口有:
* [cluster] `/bridges/:id/:operation`,
* [node] `/nodes/:node/bridges/:id/:operation`,
其中 `operation``[start|stop|restart]` 之一。
此外对于节点操作EMQX 将检查节点是否存在于集群中,如果不在,则会返回`404`,而不再是`501`。