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

refactor(meta/sled): simplify SledTree APIs #8203

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

drmingdrmer
Copy link
Member

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

refactor(meta/sled): simplify SledTree APIs

Remove unused API from SledTree, and merge APIs with similar
functions, such as range_keys(), range_values() and range_kvs()
and be replaced with a simple range(); insert() can be replaced with
append().

Make SledTree APIs crate-public. Only leave key-space based API public.

Changelog

Related Issues

Remove unused API from `SledTree`, and merge APIs with similar
functions, such as `range_keys()`, `range_values()` and `range_kvs()`
and be replaced with a simple `range()`; `insert()` can be replaced with
`append()`.

Make `SledTree` APIs crate-public. Only leave key-space based API public.
@vercel
Copy link

vercel bot commented Oct 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Oct 13, 2022 at 1:34PM (UTC)

@mergify mergify bot added the pr-refactor this PR changes the code base without new features or bugfix label Oct 13, 2022
@drmingdrmer drmingdrmer marked this pull request as ready for review October 13, 2022 14:15
@drmingdrmer drmingdrmer requested review from lichuang and ariesdevil and removed request for lichuang October 13, 2022 14:15
@BohuTANG BohuTANG merged commit 8ce9952 into databendlabs:main Oct 14, 2022
@drmingdrmer drmingdrmer deleted the 04-sled-simplify branch October 14, 2022 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-refactor this PR changes the code base without new features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants