Ata E Husain Bohra
1520390bc5
Refactor: ClusterController driving cluster-recovery state machine
...
diff-1: Address Jingyu's review comments
diff-2: Introduce ClusterRecovery actor to seperate out
cluster recovery code
At present, cluster recovery process consists of following steps:
1. ClusterController clusterWatchDatabase actor recruits
master/sequencer process.
2. Sequencer process implements the cluster recovery state machine,
responsible to recruit all other processes as well restore the
cluster state.
Patch proposes a scheme where the cluster recovery state machine
is implemented and driven by the ClusterController process instead
of the Sequencer process.
Advantages of the scheme could be:
1. Simplified design where ClusterController recruits "sequencer"
process like other worker processes compared to current scheme
where "sequencer" process gets special treatment. In newer scheme
sequencer is responsible for maintaining/providing
"committed version" (as expected).
2. ClusterController is responsible for worker processes recruitment,
the sequencer though orchestrating the recovery state machine, it
need to reachout to the ClusterController for recruiting worker
processes etc.
NOTE:
Patch has moved the recovery state machine code from
'sequencer' -> 'cluster-controller' process, however, necessary
updates were done for both functionality as well as performance
improvement reasons.
Next Steps:
Cluster recovery documentation will be updated in near future.
2021-12-22 14:06:27 -08:00
..
2021-06-28 11:14:55 +08:00
2021-12-06 15:46:40 -08:00
2021-11-09 12:29:47 -08:00
2021-08-24 12:58:14 -07:00
2021-12-01 18:15:53 -08:00
2021-03-10 10:18:07 -08:00
2021-03-10 10:18:07 -08:00
2021-03-10 10:18:07 -08:00
2021-05-03 13:14:16 -07:00
2021-09-16 19:40:28 -07:00
2021-12-22 14:06:27 -08:00
2021-11-17 17:03:32 -08:00
2021-09-23 10:45:37 -04:00
2021-12-02 11:40:26 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-03-10 10:18:07 -08:00
2021-08-23 14:02:41 -07:00
2021-08-23 12:45:42 -07:00
2021-08-10 11:39:29 -07:00
2021-10-25 12:03:22 -07:00
2021-10-25 12:03:22 -07:00
2021-10-25 12:03:22 -07:00
2021-10-25 12:03:22 -07:00
2021-09-13 12:28:17 -07:00
2021-03-10 10:18:07 -08:00
2021-10-22 11:05:18 -07:00
2021-03-10 10:18:07 -08:00
2021-12-10 16:37:48 -08:00
2021-10-22 11:05:18 -07:00
2021-07-28 12:29:27 -07:00
2021-03-10 10:18:07 -08:00
2021-07-26 19:55:10 -07:00
2021-12-01 18:15:53 -08:00
2021-10-27 09:08:37 -07:00
2021-11-23 15:26:38 -08:00
2021-12-06 15:01:47 -08:00
2021-11-11 20:28:55 -08:00
2021-09-16 19:40:28 -07:00
2021-11-10 08:22:57 -08:00
2021-10-18 13:40:47 -07:00
2021-09-25 16:35:54 -06:00
2021-03-10 10:18:07 -08:00
2021-12-14 12:01:44 -08:00
2021-12-22 14:06:27 -08:00
2021-06-10 20:57:50 -07:00
2021-06-12 08:04:09 -07:00
2021-07-09 05:42:14 -07:00
2020-11-15 12:23:08 -08:00
2021-10-18 13:40:47 -07:00
2021-11-27 03:26:34 -08:00
2021-10-18 13:40:47 -07:00
2021-10-18 13:40:47 -07:00
2021-12-21 23:09:46 -08:00
2021-10-18 13:40:47 -07:00
2021-07-26 10:55:22 -04:00
2021-03-10 10:18:07 -08:00
2021-03-11 08:56:55 -08:00
2021-10-22 11:05:18 -07:00
2021-09-16 15:34:45 -07:00
2021-09-13 12:28:17 -07:00
2021-09-13 12:28:17 -07:00
2021-03-10 10:18:07 -08:00
2021-09-12 14:17:19 -07:00
2021-09-12 14:17:19 -07:00
2021-11-09 12:29:47 -08:00
2021-09-12 14:17:19 -07:00
2021-09-12 14:17:19 -07:00
2021-10-18 13:40:47 -07:00
2021-10-18 13:40:47 -07:00
2021-09-16 19:40:28 -07:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-09-16 19:40:28 -07:00
2021-03-10 10:18:07 -08:00
2021-09-22 16:55:49 -07:00
2021-09-22 13:07:38 -07:00
2021-08-27 17:07:47 -07:00
2021-09-16 19:40:28 -07:00
2021-11-17 14:45:48 -08:00
2021-09-20 13:58:05 -07:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00
2021-10-18 13:40:47 -07:00
2021-10-18 13:40:47 -07:00
2021-10-25 12:03:22 -07:00
2021-08-09 10:04:34 -07:00
2021-09-16 19:40:28 -07:00
2021-09-12 17:33:25 -07:00
2021-09-12 17:33:25 -07:00
2021-10-25 13:38:48 -05:00
2021-10-13 15:44:35 -05:00
2021-06-04 09:48:06 -07:00
2021-10-18 17:11:14 -05:00
2021-08-06 11:02:05 -05:00
2021-03-10 10:18:07 -08:00
2021-12-01 18:15:53 -08:00
2021-06-30 11:27:05 -07:00
2021-07-26 19:55:10 -07:00
2021-08-24 08:04:19 -07:00
2021-07-17 00:11:40 -07:00
2021-05-30 15:02:33 -07:00
2021-11-01 14:18:31 -07:00
2021-03-10 10:18:07 -08:00
2021-09-16 19:40:28 -07:00
2021-07-23 17:33:18 -07:00
2021-03-10 10:18:07 -08:00
2021-05-30 15:02:33 -07:00
2021-05-30 15:02:33 -07:00
2021-10-22 11:05:18 -07:00
2021-05-30 15:02:33 -07:00
2021-05-30 15:02:33 -07:00
2021-10-22 11:05:18 -07:00
2021-06-04 13:31:55 -07:00
2021-06-04 15:01:18 -07:00
2021-11-09 12:29:48 -08:00
2021-03-05 16:31:35 -06:00
2021-08-18 18:06:36 +02:00
2021-10-25 12:03:22 -07:00
2021-08-09 10:04:34 -07:00
2021-11-17 12:14:01 -08:00
2021-03-10 10:18:07 -08:00
2021-09-16 19:40:28 -07:00
2021-03-10 10:18:07 -08:00
2021-11-30 23:35:36 -08:00
2021-10-11 16:34:57 -07:00
2021-09-16 19:40:28 -07:00
2021-09-16 19:40:28 -07:00
2021-03-10 10:18:07 -08:00
2021-12-10 10:04:05 -06:00
2021-12-22 14:06:27 -08:00
2021-11-09 12:29:47 -08:00
2021-03-10 10:18:07 -08:00
2021-11-17 12:14:01 -08:00
2021-10-22 11:05:18 -07:00
2021-09-20 13:58:05 -07:00
2021-12-22 14:06:27 -08:00
2021-09-16 19:40:28 -07:00
2021-09-16 19:40:28 -07:00
2021-12-01 18:15:16 -08:00
2021-07-23 17:33:18 -07:00
2021-11-16 17:39:59 -08:00
2021-03-10 10:18:07 -08:00
2021-03-10 10:18:07 -08:00
2021-12-22 14:06:27 -08:00
2021-12-22 14:06:27 -08:00