4paradigm / 4paradigm/OpenMLDB

Aggregator recover fail when base_table is older than aggr_table

Đang mở
#1,657 0 bình luận 0 reaction 2 người được giao Được @nautaa nhận Xem trên GitHub
enhancement storage-engine
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
databases, machine-learning
Lĩnh vực
databases, distributed-systems, machine-learning
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.