summaryrefslogtreecommitdiff
path: root/src/sds.c
diff options
context:
space:
mode:
authorYaacovHazan <31382944+YaacovHazan@users.noreply.github.com>2021-10-04 10:32:26 +0300
committerGitHub <noreply@github.com>2021-10-04 10:32:26 +0300
commit5becb7c9c69d23aa208a8325eae0d02846590a78 (patch)
treecf4e0dce53b3459bfcc401f893171497db6b71d2 /src/sds.c
parent6f4f31f167fbaf6da1939a7764606059ca7e6de1 (diff)
downloadredis-5becb7c9c69d23aa208a8325eae0d02846590a78.tar.gz
improve the stability and correctness of "Test child sending info" (#9562)
Since we measure the COW size in this test by changing some keys and reading the reported COW size, we need to ensure that the "dismiss mechanism" (#8974) will not free memory and reduce the COW size. For that, this commit changes the size of the keys to 512B (less than a page). and because some keys may fall into the same page, we are modifying ten keys on each iteration and check for at least 50% change in the COW size.
Diffstat (limited to 'src/sds.c')
0 files changed, 0 insertions, 0 deletions