Skip to content
代码片段 群组 项目
未验证 提交 3b749f46 编辑于 作者: Akhilesh C's avatar Akhilesh C 提交者: GitHub
浏览文件

KGLOBAL-1867: Fix the NPE exception in isAutoMirrorTopic() check when the link is failed (#7139)

* KGLOBAL-1867: Fix the NPE exception in isAutoMirrorTopic() check when the link is failed

When the link fails, we set the config to null. We're not handling this
correctly in isAutoMirrorTopic() check which relies on config to understand if
a mirror topic is auto-mirrored. This solution is to simply default the
behavior of the check to false when the link is failed. This way we might let
the customer delete some auto-mirror topics when the link is in the failed state. But
when the link comes back, we'll mirror the topic again. Another approach is to
not let customers delete a topic when the link is failed and we're not able to use
the config to determine if the topic is auto-mirrored. The restriction is much
bigger here and is not the behavior intended for a failed link.
上级 3f47c452
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册