redict/tests
Wang Yuan 1bb5794a1f
Kill disk-based fork child when all replicas drop and 'save' is not enabled (#7819)
When all replicas waiting for a bgsave get disconnected (possibly due to output buffer limit),
It may be good to kill the bgsave child. in diskless replication it already happens, but in
disk-based, the child may still serve some purpose (for persistence).

By killing the child, we prevent it from eating COW memory in vain, and we also allow a new child fork sooner for the next full synchronization or bgsave.
We do that only if rdb persistence wasn't enabled in the configuration.

Btw, now, rdbRemoveTempFile in killRDBChild won't block server, so we can killRDBChild safely.
2020-09-22 09:47:58 +03:00
..
assets Tests: Add aclfile load and save tests (#7765) 2020-09-09 17:13:35 +03:00
cluster Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Kill disk-based fork child when all replicas drop and 'save' is not enabled (#7819) 2020-09-22 09:47:58 +03:00
modules Add Swapdb Module Event (#7804) 2020-09-20 13:36:20 +03:00
sentinel Recalculate hardcoded variables from $::instances_count in sentinel tests (#7561) 2020-09-13 18:39:59 +03:00
support Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Add Swapdb Module Event (#7804) 2020-09-20 13:36:20 +03:00
instances.tcl Clarify help text of tcl scripts. (#7798) 2020-09-15 08:27:42 +03:00
test_helper.tcl Remove tmp rdb file in background thread (#7762) 2020-09-17 18:20:10 +03:00