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 single-key iterator #1

Open
waynexia opened this issue Aug 11, 2021 · 0 comments
Open

Implement single-key iterator #1

waynexia opened this issue Aug 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@waynexia
Copy link
Owner

Currently, the only user-facing iterator implementation is TimeIterator. Which holds lots of underlying internal iterators to gather data from shards. It works like this:

(ts 0, key 1) -> (ts 1, key 1) -> (ts 2, key 1) -> ...

This works fine. However, when we only want to read data from a single key various in timestamp, it is better to get rid of other unnecessary internals and make the rest work simply.

@waynexia waynexia added the enhancement New feature or request label Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant