diff --git a/.github/workflows/fixtures.yml b/.github/workflows/fixtures.yml index c32d5527..a40f8ddb 100644 --- a/.github/workflows/fixtures.yml +++ b/.github/workflows/fixtures.yml @@ -12,7 +12,7 @@ on: jobs: regenerate_fixtures: if: github.event.label.name == 'regenerate-fixtures' - uses: codecrafters-io/tester-utils/.github/workflows/fixtures.yml@master + uses: codecrafters-io/tester-utils/.github/workflows/fixtures.yml@ci-make-setup with: tester_repo: redis-tester secrets: inherit diff --git a/Makefile b/Makefile index 30b3c7ba..3c833d90 100644 --- a/Makefile +++ b/Makefile @@ -60,3 +60,16 @@ test_all_with_redis: make test_rdb_with_redis || true make test_streams_with_redis || true make test_txn_with_redis || true + +setup: + echo "Setting up redis-tester prerequisites for Linux" + + curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg + sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg + @echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(shell lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list + + sudo apt-get update && sudo apt-get install redis -y + + sudo service redis-server stop + + echo "Setup complete!" \ No newline at end of file diff --git a/internal/test_helpers/fixtures/expiry/pass b/internal/test_helpers/fixtures/expiry/pass index f83d1638..0a584638 100644 --- a/internal/test_helpers/fixtures/expiry/pass +++ b/internal/test_helpers/fixtures/expiry/pass @@ -7,15 +7,15 @@ Debug = true [stage-7] Received bytes: "+OK\r\n" [stage-7] Received RESP simple string: "OK" [stage-7] Received "OK" -[stage-7] Received OK at 17:57:54.074 -[stage-7] Fetching key "apple" at 17:57:54.074 (should not be expired) +[stage-7] Received OK at 08:17:43.503 +[stage-7] Fetching key "apple" at 08:17:43.503 (should not be expired) [stage-7] > GET apple [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\napple\r\n" [stage-7] Received bytes: "$9\r\nblueberry\r\n" [stage-7] Received RESP bulk string: "blueberry" [stage-7] Received "blueberry" [stage-7] Sleeping for 101ms -[stage-7] Fetching key "apple" at 17:57:54.176 (should be expired) +[stage-7] Fetching key "apple" at 08:17:43.606 (should be expired) [stage-7] > GET apple [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\napple\r\n" [stage-7] Received bytes: "$-1\r\n" diff --git a/internal/test_helpers/fixtures/rdb-read-value-with-expiry/pass b/internal/test_helpers/fixtures/rdb-read-value-with-expiry/pass index 5f68ebc4..8def2a76 100644 --- a/internal/test_helpers/fixtures/rdb-read-value-with-expiry/pass +++ b/internal/test_helpers/fixtures/rdb-read-value-with-expiry/pass @@ -15,7 +15,7 @@ Debug = true [stage-13] 0070 | 70 6c 65 09 62 6c 75 65 62 65 72 72 79 ff 34 d0 | ple.blueberry.4. [stage-13] 0080 | 8c 58 51 4a 5d 62 0a | .XQJ]b. [stage-13]  -[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3993504912 --dbfilename pear.rdb +[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles249740444 --dbfilename pear.rdb [stage-13] client: $ redis-cli GET orange [stage-13] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$6\r\norange\r\n" [stage-13] client: Received bytes: "$10\r\nstrawberry\r\n" @@ -50,7 +50,7 @@ Debug = true [stage-12] 0070 | 6e 67 65 04 70 65 61 72 ff 33 20 d4 0d 23 b2 9b | nge.pear.3 ..#.. [stage-12] 0080 | af 0a | .. [stage-12]  -[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles523278937 --dbfilename raspberry.rdb +[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3402100153 --dbfilename raspberry.rdb [stage-12] client: $ redis-cli GET grape [stage-12] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\ngrape\r\n" [stage-12] client: Received bytes: "$9\r\npineapple\r\n" @@ -93,12 +93,12 @@ Debug = true [stage-11] 0050 | 00 09 62 6c 75 65 62 65 72 72 79 04 70 65 61 72 | ..blueberry.pear [stage-11] 0060 | ff 5c f3 42 ee 46 08 a6 3f 0a | .\.B.F..?. [stage-11]  -[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles134944817 --dbfilename blueberry.rdb +[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles2751412102 --dbfilename blueberry.rdb [stage-11] client: $ redis-cli KEYS * [stage-11] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" -[stage-11] client: Received bytes: "*3\r\n$9\r\nblueberry\r\n$5\r\napple\r\n$6\r\nbanana\r\n" -[stage-11] client: Received RESP array: ["blueberry", "apple", "banana"] -[stage-11] Received ["blueberry", "apple", "banana"] +[stage-11] client: Received bytes: "*3\r\n$5\r\napple\r\n$6\r\nbanana\r\n$9\r\nblueberry\r\n" +[stage-11] client: Received RESP array: ["apple", "banana", "blueberry"] +[stage-11] Received ["apple", "banana", "blueberry"] [stage-11] Test passed. [stage-11] Terminating program [stage-11] Program terminated successfully @@ -114,7 +114,7 @@ Debug = true [stage-10] 0030 | 72 61 70 65 09 70 69 6e 65 61 70 70 6c 65 ff 12 | rape.pineapple.. [stage-10] 0040 | 7d 54 51 cd 7a 5c 8d 0a | }TQ.z\.. [stage-10]  -[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles88667885 --dbfilename orange.rdb +[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3639530909 --dbfilename orange.rdb [stage-10] client: $ redis-cli GET grape [stage-10] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\ngrape\r\n" [stage-10] client: Received bytes: "$9\r\npineapple\r\n" @@ -135,7 +135,7 @@ Debug = true [stage-9] 0030 | 61 6e 67 6f 09 70 69 6e 65 61 70 70 6c 65 ff 0c | ango.pineapple.. [stage-9] 0040 | 1b cb 91 b2 ed f6 19 0a | ........ [stage-9]  -[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles2978787751 --dbfilename pear.rdb +[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3529067617 --dbfilename pear.rdb [stage-9] client: $ redis-cli KEYS * [stage-9] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" [stage-9] client: Received bytes: "*1\r\n$5\r\nmango\r\n" @@ -146,12 +146,12 @@ Debug = true [stage-9] Program terminated successfully [stage-8] Running tests for Stage #8: zg5 -[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3829876670 --dbfilename blueberry.rdb +[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1475311201 --dbfilename blueberry.rdb [stage-8] client: $ redis-cli CONFIG GET dir [stage-8] client: Sent bytes: "*3\r\n$6\r\nCONFIG\r\n$3\r\nGET\r\n$3\r\ndir\r\n" -[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles3829876670\r\n" -[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles3829876670"] -[stage-8] Received ["dir", "/tmp/rdbfiles3829876670"] +[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles1475311201\r\n" +[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles1475311201"] +[stage-8] Received ["dir", "/tmp/rdbfiles1475311201"] [stage-8] Test passed. [stage-8] Terminating program [stage-8] Program terminated successfully @@ -163,15 +163,15 @@ Debug = true [stage-7] Received bytes: "+OK\r\n" [stage-7] Received RESP simple string: "OK" [stage-7] Received "OK" -[stage-7] Received OK at 17:57:56.547 -[stage-7] Fetching key "strawberry" at 17:57:56.547 (should not be expired) +[stage-7] Received OK at 08:17:26.438 +[stage-7] Fetching key "strawberry" at 08:17:26.438 (should not be expired) [stage-7] > GET strawberry [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$10\r\nstrawberry\r\n" [stage-7] Received bytes: "$4\r\npear\r\n" [stage-7] Received RESP bulk string: "pear" [stage-7] Received "pear" [stage-7] Sleeping for 101ms -[stage-7] Fetching key "strawberry" at 17:57:56.650 (should be expired) +[stage-7] Fetching key "strawberry" at 08:17:26.540 (should be expired) [stage-7] > GET strawberry [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$10\r\nstrawberry\r\n" [stage-7] Received bytes: "$-1\r\n" diff --git a/internal/test_helpers/fixtures/repl-wait/pass b/internal/test_helpers/fixtures/repl-wait/pass index 64d2c6a2..ab03e32e 100644 --- a/internal/test_helpers/fixtures/repl-wait/pass +++ b/internal/test_helpers/fixtures/repl-wait/pass @@ -21,11 +21,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-1: > PSYNC ? -1 [stage-31] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0\r\n" -[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" -[stage-31] [handshake] Received "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" +[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0\r\n" +[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" +[stage-31] [handshake] Received "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2*k}g\xfa\bused-mem\xc2\xf0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(86a8150ed3a641fdbddcc957472c149a976e7a0c\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffu%%\r\xd6F\xee\x8b" +[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime©׀g\xfa\bused-mem\u0090\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(7517b2651ae525b8b5e6c72b114bb44060c8f045\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xd1\\\xee\xbc4\xb4\x15\x8c" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 2 [stage-31] [handshake] replica-2: $ redis-cli PING @@ -45,11 +45,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-2: > PSYNC ? -1 [stage-31] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0\r\n" -[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" -[stage-31] [handshake] Received "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" +[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0\r\n" +[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" +[stage-31] [handshake] Received "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2*k}g\xfa\bused-mem¸\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(86a8150ed3a641fdbddcc957472c149a976e7a0c\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffq1\f\xcfy\x17pE" +[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime©׀g\xfa\bused-mem\xc2X\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(7517b2651ae525b8b5e6c72b114bb44060c8f045\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffz\x161\x88\xf4P\xa7\xb0" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 3 [stage-31] [handshake] replica-3: $ redis-cli PING @@ -69,11 +69,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-3: > PSYNC ? -1 [stage-31] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0\r\n" -[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" -[stage-31] [handshake] Received "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" +[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0\r\n" +[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" +[stage-31] [handshake] Received "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2*k}g\xfa\bused-mem\xc2\x00\x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(86a8150ed3a641fdbddcc957472c149a976e7a0c\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffi\xaaԹ0\xf4n\x17" +[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime©׀g\xfa\bused-mem\u00a0\x16\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(7517b2651ae525b8b5e6c72b114bb44060c8f045\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xb5E\xa2\x1c\xaf6\x03\xc1" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 4 [stage-31] [handshake] replica-4: $ redis-cli PING @@ -93,11 +93,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-4: > PSYNC ? -1 [stage-31] [handshake] replica-4: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0\r\n" -[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" -[stage-31] [handshake] Received "FULLRESYNC 86a8150ed3a641fdbddcc957472c149a976e7a0c 0" +[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0\r\n" +[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" +[stage-31] [handshake] Received "FULLRESYNC 7517b2651ae525b8b5e6c72b114bb44060c8f045 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2*k}g\xfa\bused-mem\xc2Hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(86a8150ed3a641fdbddcc957472c149a976e7a0c\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc7G\xb3\x11\x80\x8a\xab\xe8" +[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime©׀g\xfa\bused-mem\xc2\xe8o\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(7517b2651ae525b8b5e6c72b114bb44060c8f045\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffn֟kS[Qe" [stage-31] [handshake] Received RDB file [stage-31] [test] client: $ redis-cli SET foo 123 [stage-31] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -214,7 +214,7 @@ Debug = true [stage-31] [test] replica-4: Not sending ACK to Master [stage-31] [test] client: Received bytes: ":3\r\n" [stage-31] [test] client: Received RESP integer: 3 -[stage-31] [test] WAIT command returned after 2093 ms +[stage-31] [test] WAIT command returned after 2094 ms [stage-31] Test passed. [stage-31] Terminating program [stage-31] Program terminated successfully @@ -240,11 +240,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-1: > PSYNC ? -1 [stage-30] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2\xd0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffI\x1e\xcff\\B\x89\xaf" +[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime«׀g\xfa\bused-mem\xc2\xf0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xb9\b\xf0\xa8`\x9eTZ" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 2 [stage-30] [handshake] replica-2: $ redis-cli PING @@ -264,11 +264,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-2: > PSYNC ? -1 [stage-30] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\u0098\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffM\n\xe6\xa4\xf3\x13\x17a" +[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime«׀g\xfa\bused-mem¸\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xbd\x1c\xd9j\xcf\xcfʔ" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 3 [stage-30] [handshake] replica-3: $ redis-cli PING @@ -288,11 +288,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-3: > PSYNC ? -1 [stage-30] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2\xe0\x16\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff-\a\x83\xc6\xc7\xc0\x9f\xe2" +[stage-30] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¬׀g\xfa\bused-mem\xc2\x00\x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xb8h\xa4\x90\xc0uNj" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 4 [stage-30] [handshake] replica-4: $ redis-cli PING @@ -312,11 +312,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-4: > PSYNC ? -1 [stage-30] [handshake] replica-4: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-4: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-4: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-4: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-4: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2(p\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x19\x9ai-\x94Gv " +[stage-30] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¬׀g\xfa\bused-mem\xc2Hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x16\x85\xc38p\v\x02t" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 5 [stage-30] [handshake] replica-5: $ redis-cli PING @@ -336,11 +336,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-5: > PSYNC ? -1 [stage-30] [handshake] replica-5: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-5: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-5: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-5: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-5: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-5: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2x\xc9\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffS\xf6\xefb\xb8\x91Q\x17" +[stage-30] [handshake] replica-5: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¬׀g\xfa\bused-mem\u0098\xc9\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\U000f7cc13h\t\xb1" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 6 [stage-30] [handshake] replica-6: $ redis-cli PING @@ -360,11 +360,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-6: > PSYNC ? -1 [stage-30] [handshake] replica-6: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-6: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-6: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-6: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-6: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-6: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2\xc0\"\x12\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffe\xdfo\x04\xa8=\xbb!" +[stage-30] [handshake] replica-6: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¬׀g\xfa\bused-mem\xc2\xe0\"\x12\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x88&\xf5FҸu\x99" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 7 [stage-30] [handshake] replica-7: $ redis-cli PING @@ -384,11 +384,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-7: > PSYNC ? -1 [stage-30] [handshake] replica-7: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-7: Received bytes: "+FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0\r\n" -[stage-30] [handshake] replica-7: Received RESP simple string: "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" -[stage-30] [handshake] Received "FULLRESYNC e793a296e40c11b3f782c27a895f8ab8a297c681 0" +[stage-30] [handshake] replica-7: Received bytes: "+FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0\r\n" +[stage-30] [handshake] replica-7: Received RESP simple string: "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" +[stage-30] [handshake] Received "FULLRESYNC b189086167b3bbeb2d84ff1ffe6afca64da5acf7 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-7: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2-k}g\xfa\bused-mem\xc2\x10|\x12\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e793a296e40c11b3f782c27a895f8ab8a297c681\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xfflrj\xe4ef\xf9y" +[stage-30] [handshake] replica-7: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¬׀g\xfa\bused-mem\xc20|\x12\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b189086167b3bbeb2d84ff1ffe6afca64da5acf7\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x81\x8b\xf0\xa6\x1f\xe37\xc1" [stage-30] [handshake] Received RDB file [stage-30] [test] client: $ redis-cli WAIT 3 500 [stage-30] [test] client: Sent bytes: "*3\r\n$4\r\nWAIT\r\n$1\r\n3\r\n$3\r\n500\r\n" @@ -597,11 +597,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-1: > PSYNC ? -1 [stage-25] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0\r\n" -[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" -[stage-25] [handshake] Received "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" +[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0\r\n" +[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" +[stage-25] [handshake] Received "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2.k}g\xfa\bused-mem\xc28\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(5f287d3f29b9c2da26f807596cdc99d9e9dfb770\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x0fO\xbfZ\xd4\xe1Sx" +[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u00ad׀g\xfa\bused-mem\xc28\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(6a99cfe0be167689bb57de4f059cca7d7128a9bd\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc4(\xb1ݣBZ\x11" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 2 [stage-25] [handshake] replica-2: $ redis-cli PING @@ -621,11 +621,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-2: > PSYNC ? -1 [stage-25] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0\r\n" -[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" -[stage-25] [handshake] Received "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" +[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0\r\n" +[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" +[stage-25] [handshake] Received "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2.k}g\xfa\bused-mem\xc2\xf0\x02\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(5f287d3f29b9c2da26f807596cdc99d9e9dfb770\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffXzB\xa5x\x1c\xf9\x85" +[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u00ad׀g\xfa\bused-mem\xc2\xf0\x02\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(6a99cfe0be167689bb57de4f059cca7d7128a9bd\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x93\x1dL\"\x0f\xbf\xf0\xec" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 3 [stage-25] [handshake] replica-3: $ redis-cli PING @@ -645,11 +645,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-3: > PSYNC ? -1 [stage-25] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0\r\n" -[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" -[stage-25] [handshake] Received "FULLRESYNC 5f287d3f29b9c2da26f807596cdc99d9e9dfb770 0" +[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0\r\n" +[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" +[stage-25] [handshake] Received "FULLRESYNC 6a99cfe0be167689bb57de4f059cca7d7128a9bd 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2/k}g\xfa\bused-mem\xc28 \x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(5f287d3f29b9c2da26f807596cdc99d9e9dfb770\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff̄\xba\xb1)gmk" +[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u00ad׀g\xfa\bused-mem\xc28 \x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(6a99cfe0be167689bb57de4f059cca7d7128a9bd\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xf2\x16\xecR\xa5u2\xdc" [stage-25] [handshake] Received RDB file [stage-25] [test] client: $ redis-cli SET foo 123 [stage-25] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -734,11 +734,11 @@ Debug = true [stage-24] [handshake] Received "OK" [stage-24] [handshake] replica: > PSYNC ? -1 [stage-24] [handshake] replica: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC b3d0512f4981e50d40d9e472987bae5bb89dbdaf 0\r\n" -[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC b3d0512f4981e50d40d9e472987bae5bb89dbdaf 0" -[stage-24] [handshake] Received "FULLRESYNC b3d0512f4981e50d40d9e472987bae5bb89dbdaf 0" +[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC 4505d53f9635fa3c878bb99d8258e00c831be115 0\r\n" +[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC 4505d53f9635fa3c878bb99d8258e00c831be115 0" +[stage-24] [handshake] Received "FULLRESYNC 4505d53f9635fa3c878bb99d8258e00c831be115 0" [stage-24] [handshake] Reading RDB file... -[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2/k}g\xfa\bused-mem\xc2\xd8\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b3d0512f4981e50d40d9e472987bae5bb89dbdaf\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffl\xb3\x80\x8b\xb5y\"?" +[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime®׀g\xfa\bused-mem\xc28\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(4505d53f9635fa3c878bb99d8258e00c831be115\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x82\xbb\x9e\xfd\x14]xW" [stage-24] [handshake] Received RDB file [stage-24] [test] client: $ redis-cli SET foo 123 [stage-24] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -793,11 +793,11 @@ Debug = true [stage-23] Received "OK" [stage-23] client: > PSYNC ? -1 [stage-23] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-23] client: Received bytes: "+FULLRESYNC 07aca795fe0f8214c111f72209340c452e6a413c 0\r\n" -[stage-23] client: Received RESP simple string: "FULLRESYNC 07aca795fe0f8214c111f72209340c452e6a413c 0" -[stage-23] Received "FULLRESYNC 07aca795fe0f8214c111f72209340c452e6a413c 0" +[stage-23] client: Received bytes: "+FULLRESYNC e4215e18e0a480e877da7b3fe1a935dc428d0c6d 0\r\n" +[stage-23] client: Received RESP simple string: "FULLRESYNC e4215e18e0a480e877da7b3fe1a935dc428d0c6d 0" +[stage-23] Received "FULLRESYNC e4215e18e0a480e877da7b3fe1a935dc428d0c6d 0" [stage-23] Reading RDB file... -[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2/k}g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(07aca795fe0f8214c111f72209340c452e6a413c\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffݸ\x10\xfe\xc3\x01sj" +[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime®׀g\xfa\bused-mem\xc2\xf0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e4215e18e0a480e877da7b3fe1a935dc428d0c6d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xf6\xdfL\x1e\u008f\xb94" [stage-23] Received RDB file [stage-23] Test passed. [stage-23] Terminating program @@ -822,9 +822,9 @@ Debug = true [stage-22] Received "OK" [stage-22] client: > PSYNC ? -1 [stage-22] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-22] client: Received bytes: "+FULLRESYNC 05ed155cd2433fa7a684d1d075adcb24c1612d89 0\r\n" -[stage-22] client: Received RESP simple string: "FULLRESYNC 05ed155cd2433fa7a684d1d075adcb24c1612d89 0" -[stage-22] Received "FULLRESYNC 05ed155cd2433fa7a684d1d075adcb24c1612d89 0" +[stage-22] client: Received bytes: "+FULLRESYNC 80a2c071afa5f707ac0e1040655c394272904df2 0\r\n" +[stage-22] client: Received RESP simple string: "FULLRESYNC 80a2c071afa5f707ac0e1040655c394272904df2 0" +[stage-22] Received "FULLRESYNC 80a2c071afa5f707ac0e1040655c394272904df2 0" [stage-22] Test passed. [stage-22] Terminating program [stage-22] Program terminated successfully @@ -923,9 +923,9 @@ Debug = true [stage-17] $ ./spawn_redis_server.sh [stage-17] client: $ redis-cli INFO replication [stage-17] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:db12b30b2e477cc54a544156c9c9974ba184554c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:db12b30b2e477cc54a544156c9c9974ba184554c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:db12b30b2e477cc54a544156c9c9974ba184554c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b6a04887a760225c9139f3ad607380d2694e8a58\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b6a04887a760225c9139f3ad607380d2694e8a58\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b6a04887a760225c9139f3ad607380d2694e8a58\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-17] Found master_replid:xxx in response. [stage-17] Found master_reploffset:0 in response. [stage-17] Test passed. @@ -949,9 +949,9 @@ Debug = true [stage-15] $ ./spawn_redis_server.sh [stage-15] client: $ redis-cli INFO replication [stage-15] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:645a519fa3bc1ea0bebbb9f1d5b4aa3fdf160607\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:645a519fa3bc1ea0bebbb9f1d5b4aa3fdf160607\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:645a519fa3bc1ea0bebbb9f1d5b4aa3fdf160607\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:bfe7b486179811a82f84e7f0187f38cf9767a48a\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:bfe7b486179811a82f84e7f0187f38cf9767a48a\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:bfe7b486179811a82f84e7f0187f38cf9767a48a\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-15] Found role:master in response. [stage-15] Test passed. [stage-15] Terminating program @@ -980,7 +980,7 @@ Debug = true [stage-13] 0070 | 70 69 6e 65 61 70 70 6c 65 06 62 61 6e 61 6e 61 | pineapple.banana [stage-13] 0080 | ff 98 42 4d 49 d1 3b 7b ed 0a | ..BMI.;{.. [stage-13]  -[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1242508131 --dbfilename pear.rdb +[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3734733339 --dbfilename pear.rdb [stage-13] client: $ redis-cli GET blueberry [stage-13] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\nblueberry\r\n" [stage-13] client: Received bytes: "$9\r\nblueberry\r\n" @@ -1015,7 +1015,7 @@ Debug = true [stage-12] 0070 | 62 6c 75 65 62 65 72 72 79 ff 03 5d d3 a4 75 38 | blueberry..]..u8 [stage-12] 0080 | 83 47 0a | .G. [stage-12]  -[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3726395041 --dbfilename mango.rdb +[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3194388092 --dbfilename mango.rdb [stage-12] client: $ redis-cli GET grape [stage-12] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\ngrape\r\n" [stage-12] client: Received bytes: "$5\r\nmango\r\n" @@ -1059,12 +1059,12 @@ Debug = true [stage-11] 0060 | 67 6f 00 06 6f 72 61 6e 67 65 05 61 70 70 6c 65 | go..orange.apple [stage-11] 0070 | ff 3a b9 90 72 de 2c a4 3d 0a | .:..r.,.=. [stage-11]  -[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3871703545 --dbfilename grape.rdb +[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3328242290 --dbfilename grape.rdb [stage-11] client: $ redis-cli KEYS * [stage-11] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" -[stage-11] client: Received bytes: "*4\r\n$6\r\norange\r\n$5\r\napple\r\n$9\r\nblueberry\r\n$9\r\nraspberry\r\n" -[stage-11] client: Received RESP array: ["orange", "apple", "blueberry", "raspberry"] -[stage-11] Received ["orange", "apple", "blueberry", "raspberry"] +[stage-11] client: Received bytes: "*4\r\n$6\r\norange\r\n$5\r\napple\r\n$9\r\nraspberry\r\n$9\r\nblueberry\r\n" +[stage-11] client: Received RESP array: ["orange", "apple", "raspberry", "blueberry"] +[stage-11] Received ["orange", "apple", "raspberry", "blueberry"] [stage-11] Test passed. [stage-11] Terminating program [stage-11] Program terminated successfully @@ -1074,13 +1074,13 @@ Debug = true [stage-10] Hexdump of RDB file contents:  [stage-10] Idx | Hex | ASCII [stage-10] -----+-------------------------------------------------+----------------- -[stage-10] 0000 | 52 45 44 49 53 30 30 31 31 fa 09 72 65 64 69 73 | REDIS0011..redis -[stage-10] 0010 | 2d 76 65 72 05 37 2e 32 2e 30 fa 0a 72 65 64 69 | -ver.7.2.0..redi -[stage-10] 0020 | 73 2d 62 69 74 73 c0 40 fe 00 fb 01 00 00 09 62 | s-bits.@.......b +[stage-10] 0000 | 52 45 44 49 53 30 30 31 31 fa 0a 72 65 64 69 73 | REDIS0011..redis +[stage-10] 0010 | 2d 62 69 74 73 c0 40 fa 09 72 65 64 69 73 2d 76 | -bits.@..redis-v +[stage-10] 0020 | 65 72 05 37 2e 32 2e 30 fe 00 fb 01 00 00 09 62 | er.7.2.0.......b [stage-10] 0030 | 6c 75 65 62 65 72 72 79 09 72 61 73 70 62 65 72 | lueberry.raspber -[stage-10] 0040 | 72 79 ff e7 32 68 28 2c c5 26 d7 0a | ry..2h(,.&.. +[stage-10] 0040 | 72 79 ff 1c 00 77 32 d4 0b 28 5c 0a | ry...w2..(\. [stage-10]  -[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles4283816903 --dbfilename strawberry.rdb +[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1113778790 --dbfilename strawberry.rdb [stage-10] client: $ redis-cli GET blueberry [stage-10] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\nblueberry\r\n" [stage-10] client: Received bytes: "$9\r\nraspberry\r\n" @@ -1095,13 +1095,13 @@ Debug = true [stage-9] Hexdump of RDB file contents:  [stage-9] Idx | Hex | ASCII [stage-9] -----+-------------------------------------------------+----------------- -[stage-9] 0000 | 52 45 44 49 53 30 30 31 31 fa 09 72 65 64 69 73 | REDIS0011..redis -[stage-9] 0010 | 2d 76 65 72 05 37 2e 32 2e 30 fa 0a 72 65 64 69 | -ver.7.2.0..redi -[stage-9] 0020 | 73 2d 62 69 74 73 c0 40 fe 00 fb 01 00 00 05 67 | s-bits.@.......g -[stage-9] 0030 | 72 61 70 65 04 70 65 61 72 ff 3b d6 76 4a 40 88 | rape.pear.;.vJ@. -[stage-9] 0040 | 6b 9a 0a | k.. +[stage-9] 0000 | 52 45 44 49 53 30 30 31 31 fa 0a 72 65 64 69 73 | REDIS0011..redis +[stage-9] 0010 | 2d 62 69 74 73 c0 40 fa 09 72 65 64 69 73 2d 76 | -bits.@..redis-v +[stage-9] 0020 | 65 72 05 37 2e 32 2e 30 fe 00 fb 01 00 00 05 67 | er.7.2.0.......g +[stage-9] 0030 | 72 61 70 65 04 70 65 61 72 ff f8 12 5e 91 93 5d | rape.pear...^..] +[stage-9] 0040 | a5 2e 0a | ... [stage-9]  -[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3919273024 --dbfilename orange.rdb +[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3523730542 --dbfilename orange.rdb [stage-9] client: $ redis-cli KEYS * [stage-9] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" [stage-9] client: Received bytes: "*1\r\n$5\r\ngrape\r\n" @@ -1112,12 +1112,12 @@ Debug = true [stage-9] Program terminated successfully [stage-8] Running tests for Stage #8: zg5 -[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles18353353 --dbfilename raspberry.rdb +[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles92242744 --dbfilename raspberry.rdb [stage-8] client: $ redis-cli CONFIG GET dir [stage-8] client: Sent bytes: "*3\r\n$6\r\nCONFIG\r\n$3\r\nGET\r\n$3\r\ndir\r\n" -[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$21\r\n/tmp/rdbfiles18353353\r\n" -[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles18353353"] -[stage-8] Received ["dir", "/tmp/rdbfiles18353353"] +[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$21\r\n/tmp/rdbfiles92242744\r\n" +[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles92242744"] +[stage-8] Received ["dir", "/tmp/rdbfiles92242744"] [stage-8] Test passed. [stage-8] Terminating program [stage-8] Program terminated successfully @@ -1129,15 +1129,15 @@ Debug = true [stage-7] Received bytes: "+OK\r\n" [stage-7] Received RESP simple string: "OK" [stage-7] Received "OK" -[stage-7] Received OK at 17:58:10.394 -[stage-7] Fetching key "mango" at 17:58:10.394 (should not be expired) +[stage-7] Received OK at 08:17:53.245 +[stage-7] Fetching key "mango" at 08:17:53.245 (should not be expired) [stage-7] > GET mango [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\nmango\r\n" [stage-7] Received bytes: "$6\r\norange\r\n" [stage-7] Received RESP bulk string: "orange" [stage-7] Received "orange" [stage-7] Sleeping for 101ms -[stage-7] Fetching key "mango" at 17:58:10.497 (should be expired) +[stage-7] Fetching key "mango" at 08:17:53.347 (should be expired) [stage-7] > GET mango [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\nmango\r\n" [stage-7] Received bytes: "$-1\r\n" diff --git a/internal/test_helpers/fixtures/streams/pass b/internal/test_helpers/fixtures/streams/pass index a7e5101c..833394cb 100644 --- a/internal/test_helpers/fixtures/streams/pass +++ b/internal/test_helpers/fixtures/streams/pass @@ -216,9 +216,9 @@ Debug = true [stage-36] $ ./spawn_redis_server.sh [stage-36] client: $ redis-cli XADD mango * foo bar [stage-36] client: Sent bytes: "*5\r\n$4\r\nXADD\r\n$5\r\nmango\r\n$1\r\n*\r\n$3\r\nfoo\r\n$3\r\nbar\r\n" -[stage-36] client: Received bytes: "$15\r\n1736272696731-0\r\n" -[stage-36] client: Received RESP bulk string: "1736272696731-0" -[stage-36] Received "1736272696731-0" +[stage-36] client: Received bytes: "$15\r\n1736497052770-0\r\n" +[stage-36] client: Received RESP bulk string: "1736497052770-0" +[stage-36] Received "1736497052770-0" [stage-36] The first part of the ID is a valid unix milliseconds timestamp [stage-36] The second part of the ID is a valid sequence number [stage-36] Test passed. @@ -335,11 +335,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-1: > PSYNC ? -1 [stage-31] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0\r\n" -[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" -[stage-31] [handshake] Received "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" +[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0\r\n" +[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" +[stage-31] [handshake] Received "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc29k}g\xfa\bused-mem\xc2\xf0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(58e818903ac415eac13878943c964e87af84cda0\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffKx\r\xf7\x06\xe0m'" +[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009d׀g\xfa\bused-mem°\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(15fb314ef1bbeb59e299477348d416f0218591f1\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\u008aQ\xfcz7@/" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 2 [stage-31] [handshake] replica-2: $ redis-cli PING @@ -359,11 +359,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-2: > PSYNC ? -1 [stage-31] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0\r\n" -[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" -[stage-31] [handshake] Received "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" +[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0\r\n" +[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" +[stage-31] [handshake] Received "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc29k}g\xfa\bused-mem¸\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(58e818903ac415eac13878943c964e87af84cda0\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffOl$5\xa9\xb1\xf3\xe9" +[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009d׀g\xfa\bused-mem\xc2x\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(15fb314ef1bbeb59e299477348d416f0218591f1\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffi\xc0\x8eȺ\xd3\xf2\x13" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 3 [stage-31] [handshake] replica-3: $ redis-cli PING @@ -383,11 +383,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-3: > PSYNC ? -1 [stage-31] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0\r\n" -[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" -[stage-31] [handshake] Received "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" +[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0\r\n" +[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" +[stage-31] [handshake] Received "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc29k}g\xfa\bused-mem\xc2\x00\x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(58e818903ac415eac13878943c964e87af84cda0\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffW\xf7\xfcC\xe0R\xed\xbb" +[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009d׀g\xfa\bused-mem\xc2\xc0\x16\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(15fb314ef1bbeb59e299477348d416f0218591f1\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffDu-\v\x7f|\xec\x8e" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 4 [stage-31] [handshake] replica-4: $ redis-cli PING @@ -407,11 +407,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-4: > PSYNC ? -1 [stage-31] [handshake] replica-4: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0\r\n" -[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" -[stage-31] [handshake] Received "FULLRESYNC 58e818903ac415eac13878943c964e87af84cda0 0" +[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0\r\n" +[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" +[stage-31] [handshake] Received "FULLRESYNC 15fb314ef1bbeb59e299477348d416f0218591f1 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc29k}g\xfa\bused-mem\xc2Hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(58e818903ac415eac13878943c964e87af84cda0\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xf9\x1a\x9b\xebP,(D" +[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009d׀g\xfa\bused-mem\xc2\bp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(15fb314ef1bbeb59e299477348d416f0218591f1\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffp\xe8\xc7\xe0,\xfb\x05L" [stage-31] [handshake] Received RDB file [stage-31] [test] client: $ redis-cli SET foo 123 [stage-31] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -528,7 +528,7 @@ Debug = true [stage-31] [test] replica-4: Not sending ACK to Master [stage-31] [test] client: Received bytes: ":3\r\n" [stage-31] [test] client: Received RESP integer: 3 -[stage-31] [test] WAIT command returned after 2087 ms +[stage-31] [test] WAIT command returned after 2090 ms [stage-31] Test passed. [stage-31] Terminating program [stage-31] Program terminated successfully @@ -554,11 +554,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-1: > PSYNC ? -1 [stage-30] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0\r\n" -[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" -[stage-30] [handshake] Received "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" +[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0\r\n" +[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" +[stage-30] [handshake] Received "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2;k}g\xfa\bused-mem°\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(2bab74d6ee50c899c0b7904cdbdf49b46d458cfc\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xe3\xea?B\xfe!/\xe1" +[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009f׀g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1b70e90547791bcaff5fc05367fcfbdf8b4d917d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x85\x02\x00\r\xe9g1\x97" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 2 [stage-30] [handshake] replica-2: $ redis-cli PING @@ -578,11 +578,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-2: > PSYNC ? -1 [stage-30] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0\r\n" -[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" -[stage-30] [handshake] Received "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" +[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0\r\n" +[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" +[stage-30] [handshake] Received "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2;k}g\xfa\bused-mem\xc2x\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(2bab74d6ee50c899c0b7904cdbdf49b46d458cfc\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffH\xa0\xe0v>ŝ\xdd" +[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u009f׀g\xfa\bused-mem\xc2ؽ\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1b70e90547791bcaff5fc05367fcfbdf8b4d917d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xa1\xbe9\xfa\xa6\x99\xe4\x13" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 3 [stage-30] [handshake] replica-3: $ redis-cli PING @@ -602,11 +602,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-3: > PSYNC ? -1 [stage-30] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0\r\n" -[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" -[stage-30] [handshake] Received "FULLRESYNC 2bab74d6ee50c899c0b7904cdbdf49b46d458cfc 0" +[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0\r\n" +[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" +[stage-30] [handshake] Received "FULLRESYNC 1b70e90547791bcaff5fc05367fcfbdf8b4d917d 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2 PSYNC ? -1 [stage-25] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0\r\n" -[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" -[stage-25] [handshake] Received "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" +[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0\r\n" +[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" +[stage-25] [handshake] Received "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2=k}g\xfa\bused-mem\xc2\xf8\f\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(3d53ef0e04475b33e62ae1eb3aa38c8b76835408\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff>\x82\a\xaf:\xdcm\x83" +[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¢׀g\xfa\bused-mem\xc28\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffGu{m\xd7)7\x9c" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 2 [stage-25] [handshake] replica-2: $ redis-cli PING @@ -834,11 +834,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-2: > PSYNC ? -1 [stage-25] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0\r\n" -[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" -[stage-25] [handshake] Received "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" +[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0\r\n" +[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" +[stage-25] [handshake] Received "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2>k}g\xfa\bused-mem°\x02\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(3d53ef0e04475b33e62ae1eb3aa38c8b76835408\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x87J\t\xe7+,I\n" +[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¢׀g\xfa\bused-mem\xc2\xf0\x02\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x10@\x86\x92{ԝa" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 3 [stage-25] [handshake] replica-3: $ redis-cli PING @@ -858,11 +858,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-3: > PSYNC ? -1 [stage-25] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0\r\n" -[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" -[stage-25] [handshake] Received "FULLRESYNC 3d53ef0e04475b33e62ae1eb3aa38c8b76835408 0" +[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0\r\n" +[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" +[stage-25] [handshake] Received "FULLRESYNC c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2>k}g\xfa\bused-mem\xc2\xf8\x1f\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(3d53ef0e04475b33e62ae1eb3aa38c8b76835408\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x97\x02\xf1X\xb1\x86\xd0\x05" +[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¢׀g\xfa\bused-mem\xc28 \x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c29f99a874fd6c8740d0ee9b7cf22c88f0e9c3bb\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffqK&\xe2\xd1\x1e_Q" [stage-25] [handshake] Received RDB file [stage-25] [test] client: $ redis-cli SET foo 123 [stage-25] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -947,11 +947,11 @@ Debug = true [stage-24] [handshake] Received "OK" [stage-24] [handshake] replica: > PSYNC ? -1 [stage-24] [handshake] replica: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC d7e283172af5d9beb56ac5c7b6541d1e161b51e0 0\r\n" -[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC d7e283172af5d9beb56ac5c7b6541d1e161b51e0 0" -[stage-24] [handshake] Received "FULLRESYNC d7e283172af5d9beb56ac5c7b6541d1e161b51e0 0" +[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC c5fd6cabb2b75728b7a94e1b8cc59da4cf654853 0\r\n" +[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC c5fd6cabb2b75728b7a94e1b8cc59da4cf654853 0" +[stage-24] [handshake] Received "FULLRESYNC c5fd6cabb2b75728b7a94e1b8cc59da4cf654853 0" [stage-24] [handshake] Reading RDB file... -[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2>k}g\xfa\bused-mem\xc2\x18\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(d7e283172af5d9beb56ac5c7b6541d1e161b51e0\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x9aB8\x81 \x19݈" +[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¢׀g\xfa\bused-mem\xc28\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c5fd6cabb2b75728b7a94e1b8cc59da4cf654853\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc2/\xad8\x96\x1b\xc9)" [stage-24] [handshake] Received RDB file [stage-24] [test] client: $ redis-cli SET foo 123 [stage-24] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -1006,11 +1006,11 @@ Debug = true [stage-23] Received "OK" [stage-23] client: > PSYNC ? -1 [stage-23] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-23] client: Received bytes: "+FULLRESYNC 566907915ab1ff4d7a4c423eda1e2adbfb3e4ff2 0\r\n" -[stage-23] client: Received RESP simple string: "FULLRESYNC 566907915ab1ff4d7a4c423eda1e2adbfb3e4ff2 0" -[stage-23] Received "FULLRESYNC 566907915ab1ff4d7a4c423eda1e2adbfb3e4ff2 0" +[stage-23] client: Received bytes: "+FULLRESYNC eaf921bcab36e7e740c92e31c9099d4ebdc17272 0\r\n" +[stage-23] client: Received RESP simple string: "FULLRESYNC eaf921bcab36e7e740c92e31c9099d4ebdc17272 0" +[stage-23] Received "FULLRESYNC eaf921bcab36e7e740c92e31c9099d4ebdc17272 0" [stage-23] Reading RDB file... -[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2>k}g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(566907915ab1ff4d7a4c423eda1e2adbfb3e4ff2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff>s\x89|\xcd\xfbc)" +[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime¢׀g\xfa\bused-mem\xc2P\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(eaf921bcab36e7e740c92e31c9099d4ebdc17272\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x92\x87<\x97\xa4 D\x1a" [stage-23] Received RDB file [stage-23] Test passed. [stage-23] Terminating program @@ -1035,9 +1035,9 @@ Debug = true [stage-22] Received "OK" [stage-22] client: > PSYNC ? -1 [stage-22] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-22] client: Received bytes: "+FULLRESYNC ede26167896b1d3814e3d84ec0f4ea5e723dcdc8 0\r\n" -[stage-22] client: Received RESP simple string: "FULLRESYNC ede26167896b1d3814e3d84ec0f4ea5e723dcdc8 0" -[stage-22] Received "FULLRESYNC ede26167896b1d3814e3d84ec0f4ea5e723dcdc8 0" +[stage-22] client: Received bytes: "+FULLRESYNC d71d4dff8448f89a794cdb547b30e4908259acb8 0\r\n" +[stage-22] client: Received RESP simple string: "FULLRESYNC d71d4dff8448f89a794cdb547b30e4908259acb8 0" +[stage-22] Received "FULLRESYNC d71d4dff8448f89a794cdb547b30e4908259acb8 0" [stage-22] Test passed. [stage-22] Terminating program [stage-22] Program terminated successfully @@ -1136,9 +1136,9 @@ Debug = true [stage-17] $ ./spawn_redis_server.sh [stage-17] client: $ redis-cli INFO replication [stage-17] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:64ea88a8fb7dfc5512f9989432ebb25aaf72cc6e\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:64ea88a8fb7dfc5512f9989432ebb25aaf72cc6e\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:64ea88a8fb7dfc5512f9989432ebb25aaf72cc6e\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3fae87a05fa3faa145714ef496cea990c3c08adb\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3fae87a05fa3faa145714ef496cea990c3c08adb\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3fae87a05fa3faa145714ef496cea990c3c08adb\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-17] Found master_replid:xxx in response. [stage-17] Found master_reploffset:0 in response. [stage-17] Test passed. @@ -1162,9 +1162,9 @@ Debug = true [stage-15] $ ./spawn_redis_server.sh [stage-15] client: $ redis-cli INFO replication [stage-15] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:ada2c4ad46581f555626723b93a5279a28768099\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:ada2c4ad46581f555626723b93a5279a28768099\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:ada2c4ad46581f555626723b93a5279a28768099\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:08f500af8f29d2ba99541f863063ca8582a04ce0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:08f500af8f29d2ba99541f863063ca8582a04ce0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:08f500af8f29d2ba99541f863063ca8582a04ce0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-15] Found role:master in response. [stage-15] Test passed. [stage-15] Terminating program @@ -1193,7 +1193,7 @@ Debug = true [stage-13] 0070 | 65 09 72 61 73 70 62 65 72 72 79 ff f7 d4 d3 00 | e.raspberry..... [stage-13] 0080 | ab 58 b4 13 0a | .X... [stage-13]  -[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3951873889 --dbfilename grape.rdb +[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1815584574 --dbfilename grape.rdb [stage-13] client: $ redis-cli GET raspberry [stage-13] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\nraspberry\r\n" [stage-13] client: Received bytes: "$9\r\npineapple\r\n" @@ -1228,7 +1228,7 @@ Debug = true [stage-12] 0070 | 67 6f 09 62 6c 75 65 62 65 72 72 79 ff af 60 d1 | go.blueberry..`. [stage-12] 0080 | 2f 14 70 b8 8d 0a | /.p... [stage-12]  -[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3800697633 --dbfilename strawberry.rdb +[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles2494017020 --dbfilename strawberry.rdb [stage-12] client: $ redis-cli GET banana [stage-12] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$6\r\nbanana\r\n" [stage-12] client: Received bytes: "$5\r\ngrape\r\n" @@ -1273,12 +1273,12 @@ Debug = true [stage-11] 0070 | 70 65 09 72 61 73 70 62 65 72 72 79 ff 38 8d 90 | pe.raspberry.8.. [stage-11] 0080 | f3 22 1e 0f c4 0a | .".... [stage-11]  -[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles431667445 --dbfilename raspberry.rdb +[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles402039334 --dbfilename raspberry.rdb [stage-11] client: $ redis-cli KEYS * [stage-11] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" -[stage-11] client: Received bytes: "*5\r\n$10\r\nstrawberry\r\n$6\r\norange\r\n$5\r\napple\r\n$6\r\nbanana\r\n$5\r\ngrape\r\n" -[stage-11] client: Received RESP array: ["strawberry", "orange", "apple", "banana", "grape"] -[stage-11] Received ["strawberry", "orange", "apple", "banana", "grape"] +[stage-11] client: Received bytes: "*5\r\n$6\r\nbanana\r\n$10\r\nstrawberry\r\n$5\r\napple\r\n$5\r\ngrape\r\n$6\r\norange\r\n" +[stage-11] client: Received RESP array: ["banana", "strawberry", "apple", "grape", "orange"] +[stage-11] Received ["banana", "strawberry", "apple", "grape", "orange"] [stage-11] Test passed. [stage-11] Terminating program [stage-11] Program terminated successfully @@ -1294,7 +1294,7 @@ Debug = true [stage-10] 0030 | 61 73 70 62 65 72 72 79 04 70 65 61 72 ff 64 d8 | aspberry.pear.d. [stage-10] 0040 | a7 37 ce 1e 69 29 0a | .7..i). [stage-10]  -[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles4197209215 --dbfilename pear.rdb +[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1113876052 --dbfilename pear.rdb [stage-10] client: $ redis-cli GET raspberry [stage-10] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\nraspberry\r\n" [stage-10] client: Received bytes: "$4\r\npear\r\n" @@ -1315,7 +1315,7 @@ Debug = true [stage-9] 0030 | 72 61 6e 67 65 05 6d 61 6e 67 6f ff c7 77 bd 73 | range.mango..w.s [stage-9] 0040 | 84 b6 3a 5d 0a | ..:]. [stage-9]  -[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1160222168 --dbfilename grape.rdb +[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles2495807609 --dbfilename grape.rdb [stage-9] client: $ redis-cli KEYS * [stage-9] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" [stage-9] client: Received bytes: "*1\r\n$6\r\norange\r\n" @@ -1326,12 +1326,12 @@ Debug = true [stage-9] Program terminated successfully [stage-8] Running tests for Stage #8: zg5 -[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3573703411 --dbfilename pear.rdb +[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3483336035 --dbfilename pear.rdb [stage-8] client: $ redis-cli CONFIG GET dir [stage-8] client: Sent bytes: "*3\r\n$6\r\nCONFIG\r\n$3\r\nGET\r\n$3\r\ndir\r\n" -[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles3573703411\r\n" -[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles3573703411"] -[stage-8] Received ["dir", "/tmp/rdbfiles3573703411"] +[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles3483336035\r\n" +[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles3483336035"] +[stage-8] Received ["dir", "/tmp/rdbfiles3483336035"] [stage-8] Test passed. [stage-8] Terminating program [stage-8] Program terminated successfully @@ -1343,15 +1343,15 @@ Debug = true [stage-7] Received bytes: "+OK\r\n" [stage-7] Received RESP simple string: "OK" [stage-7] Received "OK" -[stage-7] Received OK at 17:58:25.432 -[stage-7] Fetching key "pear" at 17:58:25.432 (should not be expired) +[stage-7] Received OK at 08:17:41.477 +[stage-7] Fetching key "pear" at 08:17:41.477 (should not be expired) [stage-7] > GET pear [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$4\r\npear\r\n" [stage-7] Received bytes: "$5\r\nmango\r\n" [stage-7] Received RESP bulk string: "mango" [stage-7] Received "mango" [stage-7] Sleeping for 101ms -[stage-7] Fetching key "pear" at 17:58:25.535 (should be expired) +[stage-7] Fetching key "pear" at 08:17:41.580 (should be expired) [stage-7] > GET pear [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$4\r\npear\r\n" [stage-7] Received bytes: "$-1\r\n" diff --git a/internal/test_helpers/fixtures/transactions/pass b/internal/test_helpers/fixtures/transactions/pass index 5c97c36e..58f910f5 100644 --- a/internal/test_helpers/fixtures/transactions/pass +++ b/internal/test_helpers/fixtures/transactions/pass @@ -607,9 +607,9 @@ Debug = true [stage-36] $ ./spawn_redis_server.sh [stage-36] client: $ redis-cli XADD pear * foo bar [stage-36] client: Sent bytes: "*5\r\n$4\r\nXADD\r\n$4\r\npear\r\n$1\r\n*\r\n$3\r\nfoo\r\n$3\r\nbar\r\n" -[stage-36] client: Received bytes: "$15\r\n1736272659777-0\r\n" -[stage-36] client: Received RESP bulk string: "1736272659777-0" -[stage-36] Received "1736272659777-0" +[stage-36] client: Received bytes: "$15\r\n1736497033124-0\r\n" +[stage-36] client: Received RESP bulk string: "1736497033124-0" +[stage-36] Received "1736497033124-0" [stage-36] The first part of the ID is a valid unix milliseconds timestamp [stage-36] The second part of the ID is a valid sequence number [stage-36] Test passed. @@ -726,11 +726,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-1: > PSYNC ? -1 [stage-31] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0\r\n" -[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" -[stage-31] [handshake] Received "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" +[stage-31] [handshake] replica-1: Received bytes: "+FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0\r\n" +[stage-31] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" +[stage-31] [handshake] Received "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x14k}g\xfa\bused-mem\xc2\xd0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(a33a8526964bf016c53ad42b16ccab7b2e187ccf\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x03J\x8f\x86\xb8J\x03'" +[stage-31] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u0089׀g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(37351d968692bcee29aa57aa734a29c428f9404a\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xe5\xd6Z\xff\u0600P\xb0" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 2 [stage-31] [handshake] replica-2: $ redis-cli PING @@ -750,11 +750,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-2: > PSYNC ? -1 [stage-31] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0\r\n" -[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" -[stage-31] [handshake] Received "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" +[stage-31] [handshake] replica-2: Received bytes: "+FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0\r\n" +[stage-31] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" +[stage-31] [handshake] Received "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x14k}g\xfa\bused-mem\u0098\x81\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(a33a8526964bf016c53ad42b16ccab7b2e187ccf\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xed\xa2\x12\xfa\x8e=\xb3^" +[stage-31] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u0089׀g\xfa\bused-mem\xc2ؽ\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(37351d968692bcee29aa57aa734a29c428f9404a\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc1jc\b\x97~\x854" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 3 [stage-31] [handshake] replica-3: $ redis-cli PING @@ -774,11 +774,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-3: > PSYNC ? -1 [stage-31] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0\r\n" -[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" -[stage-31] [handshake] Received "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" +[stage-31] [handshake] replica-3: Received bytes: "+FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0\r\n" +[stage-31] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" +[stage-31] [handshake] Received "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x14k}g\xfa\bused-mem\xc2\xe0\x16\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(a33a8526964bf016c53ad42b16ccab7b2e187ccf\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffgS\xc3&#\xc8\x15j" +[stage-31] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u0089׀g\xfa\bused-mem\xc2 \x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(37351d968692bcee29aa57aa734a29c428f9404a\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff;\x17\x8b)@T!\x8a" [stage-31] [handshake] Received RDB file [stage-31] Creating replica: 4 [stage-31] [handshake] replica-4: $ redis-cli PING @@ -798,11 +798,11 @@ Debug = true [stage-31] [handshake] Received "OK" [stage-31] [handshake] replica-4: > PSYNC ? -1 [stage-31] [handshake] replica-4: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0\r\n" -[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" -[stage-31] [handshake] Received "FULLRESYNC a33a8526964bf016c53ad42b16ccab7b2e187ccf 0" +[stage-31] [handshake] replica-4: Received bytes: "+FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0\r\n" +[stage-31] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" +[stage-31] [handshake] Received "FULLRESYNC 37351d968692bcee29aa57aa734a29c428f9404a 0" [stage-31] [handshake] Reading RDB file... -[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x14k}g\xfa\bused-mem\xc2(p\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(a33a8526964bf016c53ad42b16ccab7b2e187ccf\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffS\xce)\xcdpO\xfc\xa8" +[stage-31] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u0089׀g\xfa\bused-mem\xc2hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(37351d968692bcee29aa57aa734a29c428f9404a\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x95\xfa\xec\x81\xf0*\xe4u" [stage-31] [handshake] Received RDB file [stage-31] [test] client: $ redis-cli SET foo 123 [stage-31] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -919,7 +919,7 @@ Debug = true [stage-31] [test] replica-4: Not sending ACK to Master [stage-31] [test] client: Received bytes: ":3\r\n" [stage-31] [test] client: Received RESP integer: 3 -[stage-31] [test] WAIT command returned after 2098 ms +[stage-31] [test] WAIT command returned after 2091 ms [stage-31] Test passed. [stage-31] Terminating program [stage-31] Program terminated successfully @@ -945,11 +945,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-1: > PSYNC ? -1 [stage-30] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0\r\n" -[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" -[stage-30] [handshake] Received "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" +[stage-30] [handshake] replica-1: Received bytes: "+FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0\r\n" +[stage-30] [handshake] replica-1: Received RESP simple string: "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" +[stage-30] [handshake] Received "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x17k}g\xfa\bused-mem\xc2\xf0\xc7\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(0a68f1d88bf6e4ec2c16424350ef9c82003d37e2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffl'\x93\a\xf5\x14\x05\xa2" +[stage-30] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008c׀g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1eb872894633ba8003eeb17ea210fbf51aef7769\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffbɸ\xc1\xdb\b3-" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 2 [stage-30] [handshake] replica-2: $ redis-cli PING @@ -969,11 +969,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-2: > PSYNC ? -1 [stage-30] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0\r\n" -[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" -[stage-30] [handshake] Received "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" +[stage-30] [handshake] replica-2: Received bytes: "+FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0\r\n" +[stage-30] [handshake] replica-2: Received RESP simple string: "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" +[stage-30] [handshake] Received "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x17k}g\xfa\bused-mem¸\xbd\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(0a68f1d88bf6e4ec2c16424350ef9c82003d37e2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffh3\xba\xc5ZE\x9bl" +[stage-30] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008c׀g\xfa\bused-mem\xc2ؽ\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1eb872894633ba8003eeb17ea210fbf51aef7769\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffFu\x816\x94\xf6\xe6\xa9" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 3 [stage-30] [handshake] replica-3: $ redis-cli PING @@ -993,11 +993,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-3: > PSYNC ? -1 [stage-30] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0\r\n" -[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" -[stage-30] [handshake] Received "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" +[stage-30] [handshake] replica-3: Received bytes: "+FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0\r\n" +[stage-30] [handshake] replica-3: Received RESP simple string: "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" +[stage-30] [handshake] Received "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x17k}g\xfa\bused-mem\xc2\x00\x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(0a68f1d88bf6e4ec2c16424350ef9c82003d37e2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffp\xa8b\xb3\x13\xa6\x85>" +[stage-30] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008c׀g\xfa\bused-mem\xc2 \x17\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1eb872894633ba8003eeb17ea210fbf51aef7769\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xbc\bi\x17C\xdcB\x17" [stage-30] [handshake] Received RDB file [stage-30] Creating replica: 4 [stage-30] [handshake] replica-4: $ redis-cli PING @@ -1017,11 +1017,11 @@ Debug = true [stage-30] [handshake] Received "OK" [stage-30] [handshake] replica-4: > PSYNC ? -1 [stage-30] [handshake] replica-4: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-30] [handshake] replica-4: Received bytes: "+FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0\r\n" -[stage-30] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" -[stage-30] [handshake] Received "FULLRESYNC 0a68f1d88bf6e4ec2c16424350ef9c82003d37e2 0" +[stage-30] [handshake] replica-4: Received bytes: "+FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0\r\n" +[stage-30] [handshake] replica-4: Received RESP simple string: "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" +[stage-30] [handshake] Received "FULLRESYNC 1eb872894633ba8003eeb17ea210fbf51aef7769 0" [stage-30] [handshake] Reading RDB file... -[stage-30] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x17k}g\xfa\bused-mem\xc2Hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(0a68f1d88bf6e4ec2c16424350ef9c82003d37e2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xdeE\x05\x1b\xa3\xd8@\xc1" +[stage-30] [handshake] replica-4: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008c׀g\xfa\bused-mem\xc2hp\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(1eb872894633ba8003eeb17ea210fbf51aef7769\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x12\xe5\x0e\xbf\xf3\xa2\x87\xe8" [stage-30] [handshake] Received RDB file [stage-30] [test] client: $ redis-cli WAIT 3 500 [stage-30] [test] client: Sent bytes: "*3\r\n$4\r\nWAIT\r\n$1\r\n3\r\n$3\r\n500\r\n" @@ -1230,11 +1230,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-1: > PSYNC ? -1 [stage-25] [handshake] replica-1: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0\r\n" -[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" -[stage-25] [handshake] Received "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" +[stage-25] [handshake] replica-1: Received bytes: "+FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0\r\n" +[stage-25] [handshake] replica-1: Received RESP simple string: "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" +[stage-25] [handshake] Received "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x19k}g\xfa\bused-mem\xc2X\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(fea988e830a5f50d7079c423bfeffb5137e3950d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\b\xa8Qs\xfb\xb0\x95\xf8" +[stage-25] [handshake] replica-1: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008e׀g\xfa\bused-mem\xc2\xd8\f\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c68c8967b3d48fca277bcf7354b9b961db642dd9\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\n\x95Ed>%U\xea" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 2 [stage-25] [handshake] replica-2: $ redis-cli PING @@ -1254,11 +1254,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-2: > PSYNC ? -1 [stage-25] [handshake] replica-2: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0\r\n" -[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" -[stage-25] [handshake] Received "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" +[stage-25] [handshake] replica-2: Received bytes: "+FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0\r\n" +[stage-25] [handshake] replica-2: Received RESP simple string: "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" +[stage-25] [handshake] Received "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x19k}g\xfa\bused-mem\xc2\x10\x03\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(fea988e830a5f50d7079c423bfeffb5137e3950d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc5\xed!ϴ\xb4\x138" +[stage-25] [handshake] replica-2: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008e׀g\xfa\bused-mem\u0090\x02\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c68c8967b3d48fca277bcf7354b9b961db642dd9\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\xc7\xd05\xd8q!\xd3*" [stage-25] [handshake] Received RDB file [stage-25] Creating replica: 3 [stage-25] [handshake] replica-3: $ redis-cli PING @@ -1278,11 +1278,11 @@ Debug = true [stage-25] [handshake] Received "OK" [stage-25] [handshake] replica-3: > PSYNC ? -1 [stage-25] [handshake] replica-3: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0\r\n" -[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" -[stage-25] [handshake] Received "FULLRESYNC fea988e830a5f50d7079c423bfeffb5137e3950d 0" +[stage-25] [handshake] replica-3: Received bytes: "+FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0\r\n" +[stage-25] [handshake] replica-3: Received RESP simple string: "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" +[stage-25] [handshake] Received "FULLRESYNC c68c8967b3d48fca277bcf7354b9b961db642dd9 0" [stage-25] [handshake] Reading RDB file... -[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x19k}g\xfa\bused-mem\xc2X \x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(fea988e830a5f50d7079c423bfeffb5137e3950d\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff>\x96\f\xfc\xfd\x87\xfd5" +[stage-25] [handshake] replica-3: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008e׀g\xfa\bused-mem\xc2\xd8\x1f\x11\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(c68c8967b3d48fca277bcf7354b9b961db642dd9\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffט\xcdg\xeb\x8bJ%" [stage-25] [handshake] Received RDB file [stage-25] [test] client: $ redis-cli SET foo 123 [stage-25] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -1367,11 +1367,11 @@ Debug = true [stage-24] [handshake] Received "OK" [stage-24] [handshake] replica: > PSYNC ? -1 [stage-24] [handshake] replica: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC 9a7f7acc6d81981bf7e6869dfc5607fce7e414f2 0\r\n" -[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC 9a7f7acc6d81981bf7e6869dfc5607fce7e414f2 0" -[stage-24] [handshake] Received "FULLRESYNC 9a7f7acc6d81981bf7e6869dfc5607fce7e414f2 0" +[stage-24] [handshake] replica: Received bytes: "+FULLRESYNC e42bdf10592a80aed73413d74e038fe1a0d3f477 0\r\n" +[stage-24] [handshake] replica: Received RESP simple string: "FULLRESYNC e42bdf10592a80aed73413d74e038fe1a0d3f477 0" +[stage-24] [handshake] Received "FULLRESYNC e42bdf10592a80aed73413d74e038fe1a0d3f477 0" [stage-24] [handshake] Reading RDB file... -[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x19k}g\xfa\bused-mem\xc2\xf8\f\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(9a7f7acc6d81981bf7e6869dfc5607fce7e414f2\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff\x1eFx^!\x1d\xc3U" +[stage-24] [handshake] replica: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008e׀g\xfa\bused-mem\xc2X\r\x10\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(e42bdf10592a80aed73413d74e038fe1a0d3f477\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff>\x0e\xe6\xb6#ޮL" [stage-24] [handshake] Received RDB file [stage-24] [test] client: $ redis-cli SET foo 123 [stage-24] [test] client: Sent bytes: "*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n123\r\n" @@ -1426,11 +1426,11 @@ Debug = true [stage-23] Received "OK" [stage-23] client: > PSYNC ? -1 [stage-23] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-23] client: Received bytes: "+FULLRESYNC 77d134f9377c2696d4c2001a490f0e00ea7137ee 0\r\n" -[stage-23] client: Received RESP simple string: "FULLRESYNC 77d134f9377c2696d4c2001a490f0e00ea7137ee 0" -[stage-23] Received "FULLRESYNC 77d134f9377c2696d4c2001a490f0e00ea7137ee 0" +[stage-23] client: Received bytes: "+FULLRESYNC b184281728ac6a1fe4b4c82ace4f558ccfeb8eb8 0\r\n" +[stage-23] client: Received RESP simple string: "FULLRESYNC b184281728ac6a1fe4b4c82ace4f558ccfeb8eb8 0" +[stage-23] Received "FULLRESYNC b184281728ac6a1fe4b4c82ace4f558ccfeb8eb8 0" [stage-23] Reading RDB file... -[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2\x19k}g\xfa\bused-mem\xc2\x10\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(77d134f9377c2696d4c2001a490f0e00ea7137ee\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xff%<\x92UyrѴ" +[stage-23] client: Received bytes: "$171\r\nREDIS0012\xfa\tredis-ver\x057.4.1\xfa\nredis-bits\xc0@\xfa\x05ctime\u008f׀g\xfa\bused-mem\xc2p\xc8\x0f\x00\xfa\x0erepl-stream-db\xc0\x00\xfa\arepl-id(b184281728ac6a1fe4b4c82ace4f558ccfeb8eb8\xfa\vrepl-offset\xc0\x00\xfa\baof-base\xc0\x00\xffT?:V\xec\f\xbe\"" [stage-23] Received RDB file [stage-23] Test passed. [stage-23] Terminating program @@ -1455,9 +1455,9 @@ Debug = true [stage-22] Received "OK" [stage-22] client: > PSYNC ? -1 [stage-22] client: Sent bytes: "*3\r\n$5\r\nPSYNC\r\n$1\r\n?\r\n$2\r\n-1\r\n" -[stage-22] client: Received bytes: "+FULLRESYNC 3a1d0b44ecc7f584a31e90dfc0b8415179bebbf8 0\r\n" -[stage-22] client: Received RESP simple string: "FULLRESYNC 3a1d0b44ecc7f584a31e90dfc0b8415179bebbf8 0" -[stage-22] Received "FULLRESYNC 3a1d0b44ecc7f584a31e90dfc0b8415179bebbf8 0" +[stage-22] client: Received bytes: "+FULLRESYNC 4181cdf4706f44fbe29e2f6a85360092344f3b4b 0\r\n" +[stage-22] client: Received RESP simple string: "FULLRESYNC 4181cdf4706f44fbe29e2f6a85360092344f3b4b 0" +[stage-22] Received "FULLRESYNC 4181cdf4706f44fbe29e2f6a85360092344f3b4b 0" [stage-22] Test passed. [stage-22] Terminating program [stage-22] Program terminated successfully @@ -1556,9 +1556,9 @@ Debug = true [stage-17] $ ./spawn_redis_server.sh [stage-17] client: $ redis-cli INFO replication [stage-17] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:297ce81ee6fde677a0522c431131f2a14222ec4c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:297ce81ee6fde677a0522c431131f2a14222ec4c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:297ce81ee6fde677a0522c431131f2a14222ec4c\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:82440911ad21ad9511d9e50e5ea260a526f0da20\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-17] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:82440911ad21ad9511d9e50e5ea260a526f0da20\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-17] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:82440911ad21ad9511d9e50e5ea260a526f0da20\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-17] Found master_replid:xxx in response. [stage-17] Found master_reploffset:0 in response. [stage-17] Test passed. @@ -1570,9 +1570,9 @@ Debug = true [stage-16] $ ./spawn_redis_server.sh --port 6380 --replicaof "localhost 6379" [stage-16] client: $ redis-cli INFO replication [stage-16] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-16] client: Received bytes: "$613\r\n# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:0\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-16] client: Received RESP bulk string: "# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:0\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n" -[stage-16] Received "# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:0\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n" +[stage-16] client: Received bytes: "$613\r\n# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:1\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-16] client: Received RESP bulk string: "# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:1\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n" +[stage-16] Received "# Replication\r\nrole:slave\r\nmaster_host:localhost\r\nmaster_port:6379\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:0\r\nslave_read_repl_offset:0\r\nslave_repl_offset:0\r\nmaster_link_down_since_seconds:1\r\nslave_priority:100\r\nslave_read_only:1\r\nreplica_announced:1\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:75cd7bc10c49047e0d163660f3b90625b1af31dc\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:0\r\n" [stage-16] Found role:slave in response. [stage-16] Test passed. [stage-16] Terminating program @@ -1582,9 +1582,9 @@ Debug = true [stage-15] $ ./spawn_redis_server.sh [stage-15] client: $ redis-cli INFO replication [stage-15] client: Sent bytes: "*2\r\n$4\r\nINFO\r\n$11\r\nreplication\r\n" -[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3c8beab6eb77b4b6a23e224a4ac83f2a838634b0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" -[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3c8beab6eb77b4b6a23e224a4ac83f2a838634b0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" -[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:3c8beab6eb77b4b6a23e224a4ac83f2a838634b0\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] client: Received bytes: "$349\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b4d5a3608fc988cc4d64cbef588e2e023c98de82\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n" +[stage-15] client: Received RESP bulk string: "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b4d5a3608fc988cc4d64cbef588e2e023c98de82\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" +[stage-15] Received "# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_failover_state:no-failover\r\nmaster_replid:b4d5a3608fc988cc4d64cbef588e2e023c98de82\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n" [stage-15] Found role:master in response. [stage-15] Test passed. [stage-15] Terminating program @@ -1615,7 +1615,7 @@ Debug = true [stage-13] 0090 | 72 79 09 72 61 73 70 62 65 72 72 79 ff 61 0a a8 | ry.raspberry.a.. [stage-13] 00a0 | 81 34 4f 53 cf 0a | .4OS.. [stage-13]  -[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3881585350 --dbfilename banana.rdb +[stage-13] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3173524064 --dbfilename banana.rdb [stage-13] client: $ redis-cli GET orange [stage-13] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$6\r\norange\r\n" [stage-13] client: Received bytes: "$-1\r\n" @@ -1654,7 +1654,7 @@ Debug = true [stage-12] 0060 | 61 6e 67 6f 09 70 69 6e 65 61 70 70 6c 65 ff e3 | ango.pineapple.. [stage-12] 0070 | 11 39 86 b8 ac e4 be 0a | .9...... [stage-12]  -[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1463265819 --dbfilename raspberry.rdb +[stage-12] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1460383393 --dbfilename raspberry.rdb [stage-12] client: $ redis-cli GET pineapple [stage-12] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\npineapple\r\n" [stage-12] client: Received bytes: "$9\r\nraspberry\r\n" @@ -1684,20 +1684,20 @@ Debug = true [stage-11] Hexdump of RDB file contents:  [stage-11] Idx | Hex | ASCII [stage-11] -----+-------------------------------------------------+----------------- -[stage-11] 0000 | 52 45 44 49 53 30 30 31 31 fa 09 72 65 64 69 73 | REDIS0011..redis -[stage-11] 0010 | 2d 76 65 72 05 37 2e 32 2e 30 fa 0a 72 65 64 69 | -ver.7.2.0..redi -[stage-11] 0020 | 73 2d 62 69 74 73 c0 40 fe 00 fb 03 00 00 05 61 | s-bits.@.......a +[stage-11] 0000 | 52 45 44 49 53 30 30 31 31 fa 0a 72 65 64 69 73 | REDIS0011..redis +[stage-11] 0010 | 2d 62 69 74 73 c0 40 fa 09 72 65 64 69 73 2d 76 | -bits.@..redis-v +[stage-11] 0020 | 65 72 05 37 2e 32 2e 30 fe 00 fb 03 00 00 05 61 | er.7.2.0.......a [stage-11] 0030 | 70 70 6c 65 05 6d 61 6e 67 6f 00 05 67 72 61 70 | pple.mango..grap [stage-11] 0040 | 65 09 62 6c 75 65 62 65 72 72 79 00 05 6d 61 6e | e.blueberry..man -[stage-11] 0050 | 67 6f 06 6f 72 61 6e 67 65 ff dc 4d 99 81 37 bf | go.orange..M..7. -[stage-11] 0060 | 76 19 0a | v.. +[stage-11] 0050 | 67 6f 06 6f 72 61 6e 67 65 ff 6d 0f d8 51 90 cb | go.orange.m..Q.. +[stage-11] 0060 | 19 99 0a | ... [stage-11]  -[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles701220416 --dbfilename pineapple.rdb +[stage-11] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles640725511 --dbfilename pineapple.rdb [stage-11] client: $ redis-cli KEYS * [stage-11] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" -[stage-11] client: Received bytes: "*3\r\n$5\r\nmango\r\n$5\r\ngrape\r\n$5\r\napple\r\n" -[stage-11] client: Received RESP array: ["mango", "grape", "apple"] -[stage-11] Received ["mango", "grape", "apple"] +[stage-11] client: Received bytes: "*3\r\n$5\r\nmango\r\n$5\r\napple\r\n$5\r\ngrape\r\n" +[stage-11] client: Received RESP array: ["mango", "apple", "grape"] +[stage-11] Received ["mango", "apple", "grape"] [stage-11] Test passed. [stage-11] Terminating program [stage-11] Program terminated successfully @@ -1713,7 +1713,7 @@ Debug = true [stage-10] 0030 | 61 73 70 62 65 72 72 79 06 62 61 6e 61 6e 61 ff | aspberry.banana. [stage-10] 0040 | ef 79 f1 21 83 dd e4 16 0a | .y.!..... [stage-10]  -[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3013555982 --dbfilename grape.rdb +[stage-10] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3725846592 --dbfilename grape.rdb [stage-10] client: $ redis-cli GET raspberry [stage-10] client: Sent bytes: "*2\r\n$3\r\nGET\r\n$9\r\nraspberry\r\n" [stage-10] client: Received bytes: "$6\r\nbanana\r\n" @@ -1728,13 +1728,13 @@ Debug = true [stage-9] Hexdump of RDB file contents:  [stage-9] Idx | Hex | ASCII [stage-9] -----+-------------------------------------------------+----------------- -[stage-9] 0000 | 52 45 44 49 53 30 30 31 31 fa 09 72 65 64 69 73 | REDIS0011..redis -[stage-9] 0010 | 2d 76 65 72 05 37 2e 32 2e 30 fa 0a 72 65 64 69 | -ver.7.2.0..redi -[stage-9] 0020 | 73 2d 62 69 74 73 c0 40 fe 00 fb 01 00 00 09 72 | s-bits.@.......r +[stage-9] 0000 | 52 45 44 49 53 30 30 31 31 fa 0a 72 65 64 69 73 | REDIS0011..redis +[stage-9] 0010 | 2d 62 69 74 73 c0 40 fa 09 72 65 64 69 73 2d 76 | -bits.@..redis-v +[stage-9] 0020 | 65 72 05 37 2e 32 2e 30 fe 00 fb 01 00 00 09 72 | er.7.2.0.......r [stage-9] 0030 | 61 73 70 62 65 72 72 79 06 6f 72 61 6e 67 65 ff | aspberry.orange. -[stage-9] 0040 | d2 ff 75 36 a2 bc 20 ed 0a | ..u6.. .. +[stage-9] 0040 | f0 85 25 39 10 dc 35 eb 0a | ..%9..5.. [stage-9]  -[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1880139270 --dbfilename strawberry.rdb +[stage-9] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles1649746050 --dbfilename strawberry.rdb [stage-9] client: $ redis-cli KEYS * [stage-9] client: Sent bytes: "*2\r\n$4\r\nKEYS\r\n$1\r\n*\r\n" [stage-9] client: Received bytes: "*1\r\n$9\r\nraspberry\r\n" @@ -1745,12 +1745,12 @@ Debug = true [stage-9] Program terminated successfully [stage-8] Running tests for Stage #8: zg5 -[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3328614850 --dbfilename banana.rdb +[stage-8] $ ./spawn_redis_server.sh --dir /tmp/rdbfiles3025310837 --dbfilename banana.rdb [stage-8] client: $ redis-cli CONFIG GET dir [stage-8] client: Sent bytes: "*3\r\n$6\r\nCONFIG\r\n$3\r\nGET\r\n$3\r\ndir\r\n" -[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles3328614850\r\n" -[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles3328614850"] -[stage-8] Received ["dir", "/tmp/rdbfiles3328614850"] +[stage-8] client: Received bytes: "*2\r\n$3\r\ndir\r\n$23\r\n/tmp/rdbfiles3025310837\r\n" +[stage-8] client: Received RESP array: ["dir", "/tmp/rdbfiles3025310837"] +[stage-8] Received ["dir", "/tmp/rdbfiles3025310837"] [stage-8] Test passed. [stage-8] Terminating program [stage-8] Program terminated successfully @@ -1762,15 +1762,15 @@ Debug = true [stage-7] Received bytes: "+OK\r\n" [stage-7] Received RESP simple string: "OK" [stage-7] Received "OK" -[stage-7] Received OK at 17:57:48.725 -[stage-7] Fetching key "apple" at 17:57:48.725 (should not be expired) +[stage-7] Received OK at 08:17:21.924 +[stage-7] Fetching key "apple" at 08:17:21.924 (should not be expired) [stage-7] > GET apple [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\napple\r\n" [stage-7] Received bytes: "$10\r\nstrawberry\r\n" [stage-7] Received RESP bulk string: "strawberry" [stage-7] Received "strawberry" [stage-7] Sleeping for 101ms -[stage-7] Fetching key "apple" at 17:57:48.828 (should be expired) +[stage-7] Fetching key "apple" at 08:17:22.026 (should be expired) [stage-7] > GET apple [stage-7] Sent bytes: "*2\r\n$3\r\nGET\r\n$5\r\napple\r\n" [stage-7] Received bytes: "$-1\r\n"