You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this stage, you'll extend your implementation of the master to support propagating commands to multiple replicas.
2
2
3
+
### Command Propagation (Recap)
4
+
5
+
Once a replica completes the handshake and loads the RDB file, it is ready to start receiving live updates from the master.
6
+
7
+
Every write command executed on the master must be forwarded to all connected replicas, not just one. This ensures that every replica stays in sync with the master.
8
+
3
9
### Tests
4
10
5
11
The tester will execute your program like this:
@@ -8,21 +14,14 @@ The tester will execute your program like this:
8
14
./your_program.sh --port <PORT>
9
15
```
10
16
11
-
It'll then start **multiple** replicas that connect to your server and execute the following commands:
0 commit comments