summaryrefslogtreecommitdiff
path: root/src/hyperloglog.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-06-10 11:06:24 +0200
committerantirez <antirez@gmail.com>2020-06-10 11:06:24 +0200
commit0c9a325d08389905a02750f014e55e0c5ff759de (patch)
tree0d389ab5e8ba7697866d14cc590421c52ac89b3d /src/hyperloglog.c
parent9bd8f02fe1ead3b3dca0a7b04706fd131bf5a192 (diff)
downloadredis-threaded-core-commands.tar.gz
TCC: protect dictionaries from changing while accessed.threaded-core-commands
Certain Redis objects may change upon read only access. This is the case, for instance, of hash tables, that may continue to incrementally rehash after a rehashing operation. A similar problem also happens with the PFCOUNT operation and other operations that may write as a side effect of reading. In the case of PFCOUNT probably the right approach would be to flag the command in a special way in the command table, so that the operation is blocked as it if was a write operation.
Diffstat (limited to 'src/hyperloglog.c')
0 files changed, 0 insertions, 0 deletions