• antirez's avatar
    TCC: protect dictionaries from changing while accessed. · 0c9a325d
    antirez authored
    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.
    0c9a325d
db.c 69.2 KB