Skip to content

Conversation

@Valay17
Copy link
Contributor

@Valay17 Valay17 commented Dec 30, 2025

Fixes #3310

Implement DELEX Command

Digest function commented out

@Valay17 Valay17 changed the title Implement DELEX Command feat(delex): Implement DELEX Command Dec 30, 2025
Copy link
Member

@PragmaTwice PragmaTwice left a comment

Choose a reason for hiding this comment

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

Hey thank you for your contribution, could you please add some golang test cases?

@Valay17
Copy link
Contributor Author

Valay17 commented Dec 30, 2025

Thank you @PragmaTwice, I am working on them

Co-authored-by: hulk <hulk.website@gmail.com>
@git-hulk
Copy link
Member

@Valay17 I think we could add a digest util function in this PR, so that other PRs won't block it. cc @PragmaTwice

@Valay17
Copy link
Contributor Author

Valay17 commented Dec 31, 2025

Sure, will add it as well and also update the places where I have commented it, also a question regarding the placement of the header files xxh3.h and xxhash.h, which directory would be appropriate to place it in?

@PragmaTwice
Copy link
Member

PragmaTwice commented Dec 31, 2025

Sure, will add it as well and also update the places where I have commented it, also a question regarding the placement of the header files xxh3.h and xxhash.h, which directory would be appropriate to place it in?

You don't need to place the header file, these will be automatically fetched and put into your build dir: https://github.com/apache/kvrocks/blob/unstable/cmake/xxhash.cmake.

You can just #include "xxh3.h".

@Valay17
Copy link
Contributor Author

Valay17 commented Dec 31, 2025

Perfect! Will add it accordingly and also change enum to struct

@Valay17
Copy link
Contributor Author

Valay17 commented Dec 31, 2025

Hi, could you please tell me what is the reason for my go test cases failure?

Comment on lines 84 to 85
return StringJoin(
con, [](const auto &v) -> decltype(auto) { return v; }, sep);
Copy link
Member

Choose a reason for hiding this comment

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

please revert this.

Copy link
Member

Choose a reason for hiding this comment

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

check it again.

@Valay17 Valay17 requested a review from git-hulk January 1, 2026 08:53
@PragmaTwice
Copy link
Member

All CI is still failing.

Please ensure c++ and golang tests pass before you request for review.

@PragmaTwice PragmaTwice marked this pull request as draft January 1, 2026 10:37
@Valay17 Valay17 marked this pull request as ready for review January 2, 2026 03:55
@Valay17
Copy link
Contributor Author

Valay17 commented Jan 2, 2026

Confirmed 3 times that both cpp and go tests are running locally, please review, thanks

@Valay17 Valay17 requested a review from PragmaTwice January 2, 2026 03:56
@Valay17
Copy link
Contributor Author

Valay17 commented Jan 2, 2026

For clang-tidy, it is telling me this, could guide me on how to go ahead with it:
if (s.IsNotFound() || !deleted) {
| ^~~~~~~~
| deleted_
DelExOption option;
| ^~~~~~
| option_
should I rename all variables with underscores at end? or keep them as is?

also the GO test is failing for TestClusterReset, for this one:
Build and test (Darwin Clang arm64 with OpenSSL, macos-14, auto, -DENABLE_OPENSSL=ON)

all others are passing

@Valay17 Valay17 closed this Jan 2, 2026
@Valay17 Valay17 reopened this Jan 2, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 3, 2026

@PragmaTwice PragmaTwice merged commit 6148f9b into apache:unstable Jan 3, 2026
39 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.

Add support of the DELEX command

3 participants