diff --git a/p4/README.md b/p4/README.md index 4053f90e7453833a7a190e7c08efdca77865ecfb..e57b813e52acf60d83183cc1b377eda33d066539 100644 --- a/p4/README.md +++ b/p4/README.md @@ -501,7 +501,7 @@ the new value of "nice" as follows: client> go run client.go -o 0,w,nice,55 wrote to 0: "nice" = "55" - client> go run client.go -o 0,r,nice + client> go run client.go -o 2,r,nice read from 2: "nice" is "55" 7) [5 pts] Same thing, but here the replica pauses on the commit, also delaying the read: @@ -512,7 +512,7 @@ the new value of "nice" as follows: client> go run client.go -o 0,w,nice,55 wrote to 0: "nice" = "55" - client> go run client.go -o 3,r,nice + client> go run client.go -o 2,r,nice read from 2: "nice" is "55" 8) [5 pts] Same thing, but now the read is asynchronous, and returns immediately with the wrong value BEFORE the write completes: @@ -523,7 +523,7 @@ the new value of "nice" as follows: client> go run client.go -o 0,w,nice,55 wrote to 0: "nice" = "55" - client> go run client.go -o 3,a,nice + client> go run client.go -o 2,a,nice read from 2: "nice" is "55" ## Video