Skip to content

如果zk上canal server cluster子节点为空,日志无法打出,有内存溢出风险 #5289

@lanicc

Description

@lanicc

logger.warn("failed to connect to:{} after retry {} times", accessStrategy.currentNode(), times);

accessStrategy.currentNode()会报错,导致currentConnector.disconnect()未调用,发生内存泄漏,逻辑如下

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions