summaryrefslogtreecommitdiff
path: root/.codespell
diff options
context:
space:
mode:
authorLu JJ <41555481+ncghost1@users.noreply.github.com>2022-04-06 02:45:45 +0800
committerGitHub <noreply@github.com>2022-04-05 21:45:45 +0300
commitf110de4b239d23b8436fdc742a557103c5852aad (patch)
tree783dbaba323c1122d6c9d23867bef2adf10131df /.codespell
parent8a7049d36305d297a31ab14d7acab372a579f2ee (diff)
downloadredis-f110de4b239d23b8436fdc742a557103c5852aad.tar.gz
Fix the bug that caused hash encoding errors when using hincrbyfloat or hincrby commands (#10479)
Fixed a bug that used the `hincrbyfloat` or `hincrby` commands to make the field or value exceed the `hash_max_listpack_value` but did not change the object encoding of the hash structure. Add a length check for field and value, check the length of value first, if the length of value does not exceed `hash_max_listpack_value` then check the length of field. If the length of field or value is too long, it will reduce the efficiency of listpack, and the object encoding will become hashtable after AOF restart, so this is also to keep the same before and after AOF restart.
Diffstat (limited to '.codespell')
0 files changed, 0 insertions, 0 deletions