-
Notifications
You must be signed in to change notification settings - Fork 23.5k
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
[NEW] Add rehashing info to command info #12302
Comments
If the idea is ok, I'd like to submit a PR. |
@JackyWoo We should not expose or rely on such implementation details. Can you describe what you use the key names received by |
@yossigo Thanks for your reply.
I will get duplicated data. |
I don't have the context, but I imagine that even without duplicate keys a simple |
@yossigo Thanks for your advice. ClickHouse is a OLAP database. I just try to take Redis as a storage of it. As a database it is a common case that scan whole dataset. As to Redis there are 2 fashions:
For Actually multi scans are not atomic and can not represent a valid point in time. But users may concern duplicated result much more. So I rise the issue. I hope I have made the context clear. |
The problem/use-case that the feature addresses
I want to integration Redis with ClickHouse ClickHouse/ClickHouse#50150. While command scan(other scans) can produce duplicated keys. So I need to filter duplicated keys and I need know whether there maybe some duplication.
I plan to determine it by :
I tried to find how to determine Redis scan stat, but did not find it(Please correct me if I was wrong), so I think we should add it.
Descripe the feature
Add a section to info.
info dictionary
And we will get
Alternative way
Add a flag to scan result if the next scan may contain duplicated keys and application will take the flag directly.
new scan result may like
This is a more strict way for the case.
The text was updated successfully, but these errors were encountered: