Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemTableSet may contain ColumnFileTiny objects but missed out when extracting remote page ids. #8436

Closed
JinheLin opened this issue Nov 29, 2023 · 0 comments · Fixed by #8437
Assignees
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.

Comments

@JinheLin
Copy link
Contributor

According to code in https://github.com/pingcap/tiflash/blob/master/dbms/src/Storages/DeltaMerge/DeltaMergeStore.cpp#L604-L639, if the rows or size of the writting block is greater or equal to delta_cache_limit_rows / 4 or delta_cache_limit_bytes / 4, this block will be directly persisted into a ColumnFileTiny object and appened to MemTableSet.

But logic in SegmentReadTask (in master) and RNReadTask (in release-7.5) only extracting remote page ids from ColumnFilePersistedSet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant