4paradigm / 4paradigm/OpenMLDB
Aggregator recover fail when base_table is older than aggr_table
未关闭
enhancement
storage-engine
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
**Describe the feature you'd like**
When the table has multiple replicas, when one fails, the leader may change. New leaders of the base_table and aggr_table may be different, causing the base_table may be older than the aggr_table.
We have to invalid the affected entries in the aggr_table, and re-compute to make it right.
**Additional context**
long-window support
贡献指南
调研方向
Look at the aggregator recovery logic in the codebase, focusing on how base_table and aggr_table replicas are managed during leader changes. Identify where invalidations and recomputations should happen, and examine any existing tests for long-window support or replica failure scenarios.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- databases, machine-learning
- 领域
- databases, distributed-systems, machine-learning
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100