summaryrefslogtreecommitdiff
path: root/src/intset.h
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2020-12-06 14:51:22 +0200
committerGitHub <noreply@github.com>2020-12-06 14:51:22 +0200
commitc4fdf09c0584a3cee32b92f01b7958c72776aedc (patch)
tree9a196ea470b61eb9d5a782372ada2585eeef3947 /src/intset.h
parent1df5bb5687738aae390ee4f6573d975adc3afc96 (diff)
downloadredis-c4fdf09c0584a3cee32b92f01b7958c72776aedc.tar.gz
prevent client tracking from causing feedback loop in performEvictions (#8100)
When client tracking is enabled signalModifiedKey can increase memory usage, this can cause the loop in performEvictions to keep running since it was measuring the memory usage impact of signalModifiedKey. The section that measures the memory impact of the eviction should be just on dbDelete, excluding keyspace notification, client tracking, and propagation to AOF and replicas. This resolves part of the problem described in #8069 p.s. fix took 1 minute, test took about 3 hours to write.
Diffstat (limited to 'src/intset.h')
0 files changed, 0 insertions, 0 deletions