4paradigm / 4paradigm/OpenMLDB

feat: disktable and memtable behave inconsistently when putting duplicate data

Đang mở
#1,240 0 bình luận 0 reaction 1 người được giao Được @Leowner nhận Xem trên GitHub
enhancement
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ả

In memtable, for example, putting 3 same data will result in 3 records. In disktable, it will result in only 1 record.
Putting duplicate data in memtable is like creating and in disktable updating.

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

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

Hướng nghiên cứu

Look at the memtable and disktable implementations to understand their put logic for duplicate data. The issue mentions inconsistency: memtable inserts duplicates as separate records while disktable updates existing ones. Start by examining the code paths for put operations in both components, then decide on a unified behavior. Running existing tests related to data insertion will help verify the fix.

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

Đánh giá

Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/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.