hulk
hulk
@EasyProgramming It's a limitation in the scan command when enabling the cluster mode. It'll only look forward N(50) slots when scanning keys, for example: If we have keys: `aaaa`(slot 0),...
> Could we make `HASH_SLOTS_MAX_ITERATIONS` a configurable constant? Yes, but this cannot resolve this problem unless they set it to MAX_HASH_SLOTS.
> @git-hulk 我这边使用Java的lettuce连接的kvrocks,看了lettuce对scan、hscan、sscan的实现方式,lettuce是以游标返回的是否为字符0来判断是否扫描完成的,所以想问一下,kvrocks这块关于scan、hscan、sscan扫描完成的标志为是否也是字符0呢,这样的话,对于我这边的程序来讲还是可以接受的 Yes, you can continue iterating if the cursor is NOT "0".
The user can work around this by continuing the scan if the cursor is not "0", it will start with the new slot id instead of 0.
@sachinrao8312 Thank you!
@venkatdatta0 Surely yes, if you're willing to support this.
@qujihan Sure, I have changed the assigned. Thank you!
@3tieto Thank you!
I cannot reproduce it on my side. To see if other folks have any clues.
@torwig Thanks a lot. For this issue, I am not sure if it's good to compress the db into a single object and then upload it.