-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Size()
duplicate counting rows size. (#17148)
之前统计 partition state 里面的 rows 时,使用的是 row.Batch 的地址昨晚去重的手段,绝大多数情况下没有问题,但一条记录也可能会重复推到 CN,不属于同一个 logtail, 自然也不属于同一个 batch,所以就做不到去重的目的。现在使用 rowid 去重。 Approved by: @XuPeng-SH, @heni02
- Loading branch information
1 parent
7c7176c
commit 9afeeec
Showing
2 changed files
with
3 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters