Repository navigation
|
Perhaps this is covered somewhere else or documented, but I see a variance in the behaviour of My compose file is like so: services:
kvrocks:
image: 'apache/kvrocks:latest'
ports:
- '6666:6666'
redis:
image: 'redis:8-alpine3.23'
ports:
- '6379:6379'I believe this has to do with the behaviour of the internal rocksdb column family keys? I find the Please let me know if there's any other information I can provide, or if there's anything I've missed. |
Replies: 3 comments 5 replies
|
@yatriks It's a really good finding.
I guess that's a design constraint inside Redis, because it now doesn't have an extra member name index to walk through when ranging with lex. See [1].
Yes, I also agree that Redis behavior was a bit counterintuitive, but I don't have a clear answer for the correctness. Keeping the same behavior with Redis would have less confusion from the user side, but it would be counterintuitive. To see @apache/kvrocks-committers have any thoughts on this? |
Hi @yatriks. I found that our docs don't mention this. Could you help us update them?
https://kvrocks.apache.org/docs/supported-commands#zset-commands
|
|
What do you think of appending, to each of ZRANGE, ZLEXCOUNT, ZRANGEBYLEX, ZRANGESTORE, ZREVRANGEBYLEX, ZREMRANGEBYLEX:
|

Yes, I also strongly recommend keeping the current behavior because I believe it's a technical design trade-off in Redis rather than a "design intent".