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

feat: impl BatchDelete #1253

Merged
merged 8 commits into from
Mar 28, 2023
Merged

Conversation

shuiyisong
Copy link
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This pr mainly implements BatchDelete on kv_store

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

#1249

@fengys1996
Copy link
Contributor

The corresponding batch delete API needs to be added in metasrv client crate.

@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #1253 (130a2e4) into develop (0ffa628) will decrease coverage by 0.53%.
The diff coverage is 64.85%.

@@             Coverage Diff             @@
##           develop    #1253      +/-   ##
===========================================
- Coverage    85.64%   85.11%   -0.53%     
===========================================
  Files          495      495              
  Lines        73428    73629     +201     
===========================================
- Hits         62887    62672     -215     
- Misses       10541    10957     +416     

@shuiyisong
Copy link
Contributor Author

The corresponding batch delete API needs to be added in metasrv client crate.

@Fengys123 It's added now, PTAL

@fengys1996
Copy link
Contributor

fengys1996 commented Mar 28, 2023

There is some conflicts, please resolve it. @shuiyisong 😃

@shuiyisong
Copy link
Contributor Author

@Fengys123 Rebased, PTAL 😆

src/meta-srv/src/service/store/etcd.rs Outdated Show resolved Hide resolved
src/meta-srv/src/service/store/memory.rs Outdated Show resolved Hide resolved
src/servers/src/auth/user_provider.rs Outdated Show resolved Hide resolved
shuiyisong and others added 3 commits March 28, 2023 11:03
Co-authored-by: LFC <bayinamine@gmail.com>
Co-authored-by: LFC <bayinamine@gmail.com>
Copy link
Contributor

@fengys1996 fengys1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@fengys1996 fengys1996 merged commit 995a28a into GreptimeTeam:develop Mar 28, 2023
@shuiyisong shuiyisong deleted the feat/batch_delete branch March 28, 2023 06:06
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: impl `BatchDelete`

* chore: add `batch_delete` to meta-client

* fix: auth param length check

* fix: auth param length check

* chore: rebase develop

* chore: use `filter_map`

Co-authored-by: LFC <bayinamine@gmail.com>

* chore: update error msg

Co-authored-by: LFC <bayinamine@gmail.com>

* fix: pre-allocate vec length

---------

Co-authored-by: LFC <bayinamine@gmail.com>
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.

4 participants