Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the logic for checking the conversion of zset from listpack …
…to skiplist during the ZADD operation. (valkey-io#806) During the ZADD operation, a conversion from listpack to skiplist might be necessary for the sorted set. Currently, the function zsetTypeMaybeConvert only examines the number of elements but does not check the Max size of the elements. It is advisable to include a check for value_len_hint for a more robust conversion check mechanism. --------- Signed-off-by: RayCao <zisong.cw@alibaba-inc.com> Signed-off-by: Binbin <binloveplay1314@qq.com> Co-authored-by: Binbin <binloveplay1314@qq.com>
- Loading branch information