diff options
author | antirez <antirez@gmail.com> | 2020-06-10 11:06:24 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-06-10 11:06:24 +0200 |
commit | 0c9a325d08389905a02750f014e55e0c5ff759de (patch) | |
tree | 0d389ab5e8ba7697866d14cc590421c52ac89b3d /src/util.c | |
parent | 9bd8f02fe1ead3b3dca0a7b04706fd131bf5a192 (diff) | |
download | redis-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/util.c')
0 files changed, 0 insertions, 0 deletions