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

BTreeIndex Precharge RowId #754

Merged
merged 11 commits into from
Dec 29, 2023

Conversation

kunga
Copy link
Member

@kunga kunga commented Dec 27, 2023

Because the whole logic of Precharge is too complicated, let's start with a simple part that Precharges a given rows range without treating an items or a bytes limit and does not support groups nor history.

Happily, testing of the new Precharge method is quite simple: create TPart, call both (flat and b-tree) Precharge, compare sets of touched data pages.

@kunga kunga marked this pull request as draft December 27, 2023 15:05
Copy link

github-actions bot commented Dec 27, 2023

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit b623877.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59459 50287 0 0 9137 35

🔴 linux-x86_64-release-asan: some tests FAILED for commit b623877.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15673 15519 0 30 104 20

@kunga kunga marked this pull request as ready for review December 28, 2023 16:49
@kunga kunga requested a review from azevaykin December 28, 2023 19:21
ydb/core/tablet_flat/flat_page_btree_index.h Outdated Show resolved Hide resolved
ydb/core/tablet_flat/flat_page_btree_index_writer.h Outdated Show resolved Hide resolved
ydb/core/tablet_flat/flat_part_charge.h Show resolved Hide resolved
ydb/core/tablet_flat/flat_part_charge_btree_index.h Outdated Show resolved Hide resolved
ydb/core/tablet_flat/flat_part_charge_btree_index.h Outdated Show resolved Hide resolved
ydb/core/tablet_flat/ut/ut_btree_index.cpp Outdated Show resolved Hide resolved
@kunga kunga merged commit 279bff4 into ydb-platform:main Dec 29, 2023
3 of 4 checks passed
adameat pushed a commit to adameat/ydb that referenced this pull request Dec 29, 2023
This was referenced Jan 11, 2024
@kunga kunga linked an issue Feb 2, 2024 that may be closed by this pull request
61 tasks
@kunga kunga changed the title KIKIMR-19522 BTreeIndex Precharge RowId BTreeIndex Precharge RowId Feb 2, 2024
@kunga kunga mentioned this pull request Feb 2, 2024
61 tasks
@kunga kunga removed a link to an issue Feb 2, 2024
61 tasks
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants