Skip to content

Conversation

@Ryan19929
Copy link
Contributor

主要解决 CCR Syncer 无法自动检测 Doris 集群 BE 节点变化的问题,同时优化了相关代码结构。

问题

Meta 对象会缓存 Backend(BE)信息,只在首次调用时从 FE 获取,之后一直使用缓存
当 Doris 集群扩容时,CCR Syncer 无法感知到 BE 节点的变化
当syncer任务从增量转到全量同步时,ccr将不完整的backend信息发送给下游集群做restore
产生报错:failed to get remote be address of be: xxx

方案

删除 getBackend 缓存机制

@w41ter
Copy link
Contributor

w41ter commented Dec 3, 2025

如果去掉缓存机制,那么每次执行前都需要获取一遍了,有更好的办法保证在避免缓存失效,同时减少获取 backend RPC 次数吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants