YaacovHazan
f9dacf8aac
Refactory fork child related infra, Unify child pid
...
This is a refactory commit, isn't suppose to have any actual impact.
it does the following:
- keep just one server struct fork child pid variable instead of 3
- have one server struct variable indicating the purpose of the current fork
child.
- redisFork is now responsible of updating the server struct with the pid,
which means it can be the one that calls updateDictResizePolicy
- move child info pipe handling into redisFork instead of having them
repeated outside
- there are two classes of fork purposes, mutually exclusive group (AOF, RDB,
Module), and one that can create several forks to coexist in parallel (LDB,
but maybe Modules some day too, Module API allows for that).
- minor fix to killRDBChild:
unlike killAppendOnlyChild and TerminateModuleForkChild, the killRDBChild
doesn't clear the pid variable or call wait4, so checkChildrenDone does
the cleanup for it.
This commit removes the explicit calls to rdbRemoveTempFile, closeChildInfoPipe,
updateDictResizePolicy, which didn't do any harm, but where unnecessary.
2021-01-07 16:14:29 +02:00
..
2020-12-21 22:57:45 -08:00
2021-01-04 17:02:57 +02:00
2020-11-09 21:48:56 -08:00
2020-04-08 12:55:57 +02:00
2019-10-07 21:06:30 +03:00
2020-12-13 17:09:54 +02:00
2016-06-07 16:46:00 -04:00
2020-11-25 13:36:21 -08:00
2020-08-28 11:54:10 +03:00
2020-12-09 20:20:55 +02:00
2020-10-28 21:13:44 +02:00
2021-01-07 16:14:29 +02:00
2020-03-07 19:38:27 +08:00
2020-12-13 17:09:54 +02:00
2020-12-23 19:13:12 -08:00
2020-12-23 19:13:12 -08:00
2020-12-23 19:06:25 -08:00
2020-12-23 19:06:25 -08:00
2020-10-28 08:51:35 +02:00
2020-11-04 14:49:15 +02:00
2020-11-04 14:49:15 +02:00
2021-01-04 17:02:57 +02:00
2020-12-16 23:19:12 +02:00
2021-01-04 17:02:57 +02:00
2020-12-06 15:30:29 +02:00
2020-11-25 13:37:54 -08:00
2020-10-28 21:13:44 +02:00
2020-03-22 14:42:03 +02:00
2019-03-01 17:53:14 +01:00
2015-07-26 15:17:18 +02:00
2020-05-05 10:20:48 +02:00
2020-04-24 17:00:03 -07:00
2021-01-05 09:15:10 +02:00
2020-04-24 17:11:21 -07:00
2021-01-07 16:14:29 +02:00
2021-01-04 17:02:57 +02:00
2020-12-21 22:57:45 -08:00
2021-01-04 23:16:19 +02:00
2020-12-23 15:52:07 +02:00
2020-12-23 15:52:07 +02:00
2020-09-10 13:43:38 +03:00
2018-07-03 18:19:46 +02:00
2020-12-06 14:51:22 +02:00
2020-12-06 11:53:04 +02:00
2020-08-28 11:54:10 +03:00
2021-01-03 17:13:37 +02:00
2015-07-26 15:17:18 +02:00
2020-12-12 02:21:05 +02:00
2020-12-12 02:21:05 +02:00
2020-04-09 17:48:29 +08:00
2020-12-12 02:21:05 +02:00
2019-02-24 21:38:15 +01:00
2020-11-08 08:32:38 +02:00
2020-12-23 19:06:25 -08:00
2020-12-06 14:54:34 +02:00
2020-12-06 14:54:34 +02:00
2021-01-04 17:02:57 +02:00
2020-10-27 15:04:18 +02:00
2020-12-23 19:13:12 -08:00
2017-12-01 10:24:24 +01:00
2020-12-06 14:54:34 +02:00
2020-12-06 14:54:34 +02:00
2018-09-18 17:04:00 +08:00
2020-09-10 13:43:38 +03:00
2019-10-28 11:10:58 +01:00
2020-09-10 13:43:38 +03:00
2020-05-05 23:35:08 -04:00
2020-12-06 14:54:34 +02:00
2020-09-10 13:43:38 +03:00
2020-12-23 15:52:07 +02:00
2020-09-29 15:52:13 +03:00
2019-11-19 17:23:47 +08:00
2021-01-07 16:14:29 +02:00
2020-08-28 11:54:10 +03:00
2020-08-28 11:54:10 +03:00
2020-12-23 15:52:07 +02:00
2020-12-23 15:52:07 +02:00
2021-01-04 14:48:28 +02:00
2021-01-07 16:14:29 +02:00
2020-09-10 13:43:38 +03:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2020-12-21 22:57:45 -08:00
2020-09-10 13:43:38 +03:00
2017-03-27 16:37:22 +02:00
2020-12-17 13:00:48 +02:00
2020-09-10 13:43:38 +03:00
2021-01-07 16:14:29 +02:00
2020-09-22 10:18:07 +03:00
2020-12-23 15:52:07 +02:00
2019-05-08 12:13:45 +01:00
2020-12-23 15:52:07 +02:00
2021-01-03 11:56:26 +02:00
2018-07-13 10:51:58 +02:00
2020-12-06 14:54:34 +02:00
2020-12-13 14:36:06 +02:00
2019-10-02 11:30:20 +02:00
2021-01-07 16:14:29 +02:00
2020-07-24 14:40:19 +08:00
2019-10-07 21:06:30 +03:00
2021-01-05 08:29:20 +02:00
2021-01-05 18:41:53 +02:00
2020-12-06 14:54:34 +02:00
2020-12-06 14:54:34 +02:00
2021-01-04 17:02:57 +02:00
2021-01-07 16:14:29 +02:00
2021-01-07 16:14:29 +02:00
2020-10-25 14:14:05 +02:00
2020-12-08 11:27:30 +02:00
2019-09-12 12:21:37 +02:00
2019-09-12 12:21:37 +02:00
2020-09-10 13:43:38 +03:00
2021-01-04 17:02:57 +02:00
2019-12-02 00:28:41 -05:00
2021-01-04 10:28:47 +02:00
2020-09-10 13:43:38 +03:00
2020-12-06 14:54:34 +02:00
2015-08-06 18:12:20 +02:00
2020-12-15 09:30:24 +02:00
2020-12-29 22:37:37 -08:00
2020-12-23 19:06:25 -08:00
2021-01-06 10:34:27 +02:00
2020-12-23 19:06:25 -08:00
2021-01-07 10:58:53 +02:00
2020-12-21 22:57:45 -08:00
2020-07-21 08:13:05 +03:00
2020-12-13 11:11:29 +02:00
2020-12-23 19:13:12 -08:00
2020-12-13 17:09:54 +02:00
2019-11-21 10:06:15 +01:00
2020-12-06 14:54:34 +02:00
2020-10-11 17:21:58 +03:00
2020-12-24 11:58:43 +02:00
2020-12-06 14:54:34 +02:00
2020-12-06 14:54:34 +02:00
2020-12-06 14:54:34 +02:00
2020-12-13 17:09:54 +02:00
2020-12-06 14:54:34 +02:00