4paradigm / 4paradigm/OpenMLDB

feat: disktable and memtable behave inconsistently when putting duplicate data

未关闭
#1,240 0 条评论 0 个 reaction 已指派 1 人 已被 @Leowner 认领 在 GitHub 查看
enhancement
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。