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

Implement the unify WAL iterator #2040

Merged
merged 14 commits into from
Jan 26, 2024
Merged

Conversation

caipengbo
Copy link
Contributor

@caipengbo caipengbo commented Jan 22, 2024

Related to #2007

Implement the unify WAL iterator for kvrocks, similar to DBIterator. It will wrap rocksdb WAL Iterator and can return different item types. It is possible to implement their processing logic depending on the concrete type.

@caipengbo caipengbo changed the title Implement the unify WAL iterator WIP: Implement the unify WAL iterator Jan 22, 2024
@caipengbo caipengbo changed the title WIP: Implement the unify WAL iterator Implement the unify WAL iterator Jan 23, 2024
@caipengbo caipengbo marked this pull request as ready for review January 23, 2024 13:33
@PragmaTwice
Copy link
Member

Could you run ./x.py format to make the CI pass?

If you've run it but the CI still fail in format check, please use clang-format with exact version 14.

@caipengbo
Copy link
Contributor Author

Ok, my machine clang-format is version 17, let me install version 14.

src/storage/iterator.cc Outdated Show resolved Hide resolved
src/storage/iterator.cc Outdated Show resolved Hide resolved
src/storage/iterator.cc Show resolved Hide resolved
src/storage/iterator.cc Outdated Show resolved Hide resolved
Copy link
Member

@git-hulk git-hulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

sonarcloud bot commented Jan 25, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

20 New issues
0 Security Hotspots
61.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@git-hulk git-hulk merged commit 201ba83 into apache:unstable Jan 26, 2024
30 checks passed
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.

3 participants