4paradigm / 4paradigm/OpenMLDB

Aggregator recover fail when base_table is older than aggr_table

オープン
#1,657 コメント 0 件 リアクション 0 件 担当者 2 名 @nautaa が担当を希望しています GitHub で見る
enhancement storage-engine
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。