File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1376,7 +1376,7 @@ stages:
1376
1376
The file is sent using the following format:
1377
1377
1378
1378
```
1379
- $<length_of_file>\r\n<contents_of_file >
1379
+ $<length_of_file>\r\n<binary_contents_of_file >
1380
1380
```
1381
1381
1382
1382
(This is similar to how [Bulk Strings](https://redis.io/topics/protocol#resp-bulk-strings) are encoded, but without the trailing `\r\n`)
@@ -1404,7 +1404,7 @@ stages:
1404
1404
of the file. You need to decode these into binary contents before sending it to the replica.
1405
1405
- The RDB file should be sent like this: `$<length>\r\n<contents>`
1406
1406
- `<length>` is the length of the file in bytes
1407
- - `<contents>` is the contents of the file
1407
+ - `<contents>` is the binary contents of the file
1408
1408
- Note that this is NOT a RESP bulk string, it doesn't contain a `\r\n` at the end
1409
1409
- If you want to learn more about the RDB file format, read [this blog post](https://rdb.fnordig.de/file_format.html). This challenge
1410
1410
has a separate extension dedicated to reading RDB files.
You can’t perform that action at this time.
0 commit comments