# Redis #YG4 RBD file sent does not end with \\r\\n

**URL:** <https://forum.codecrafters.io/t/redis-yg4-rbd-file-sent-does-not-end-with-r-n/2277>\
**Category:** Challenges\
**Tags:** challenge:redis\
**Created:** [October 9, 2024, 8:06pm UTC](https://forum.codecrafters.io/t/redis-yg4-rbd-file-sent-does-not-end-with-r-n/2277 "2024-10-09T20:06:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TobiasKrok](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/tobiaskrok/32/1572_2.png) [@TobiasKrok](https://forum.codecrafters.io/u/TobiasKrok)\
**Post date:** [October 9, 2024, 8:06pm UTC](https://forum.codecrafters.io/t/redis-yg4-rbd-file-sent-does-not-end-with-r-n/2277/1 "2024-10-09T20:06:20Z")

</div>

Hello! I am a bit stuck on stage YG4

The tester sends multiple commands on the same stream, but it is sending a command that does not end in \r\n

```auto
[tester::#YG4] [handshake] master: Sent "FULLRESYNC 75cd7bc10c49047e0d163660f3b90625b1af31dc 0"
[tester::#YG4] [handshake] master: Sent bytes: "+FULLRESYNC 75cd7bc10c49047e0d163660f3b90625b1af31dc 0\r\n"
[tester::#YG4] [handshake] Sending RDB file...
[tester::#YG4] [handshake] master: Sent bytes: "$88\r\nREDIS0011\xfa\tredis-ver\x057.2.0\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2m\b\xbce\xfa\bused-mem°\xc4\x10\x00\xfa\baof-base\xc0\x00\xff\xf0n;\xfe\xc0\xffZ\xa2"

```

Is the bulk string sent here not supposed to not end with \r\n ?

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [October 9, 2024, 8:38pm UTC](https://forum.codecrafters.io/t/redis-yg4-rbd-file-sent-does-not-end-with-r-n/2277/2 "2024-10-09T20:38:53Z")

</div>

@TobiasKrok It does look like a bulk string, but it’s not actually one.

Feel free to check out the instructions in [Empty RDB Transfer #cf8](https://app.codecrafters.io/courses/redis/stages/cf8):

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/3/3592be0f2760d3558b79dbf888c41617bec18ffc.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [October 14, 2024, 8:39pm UTC](https://forum.codecrafters.io/t/redis-yg4-rbd-file-sent-does-not-end-with-r-n/2277/3 "2024-10-14T20:39:38Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
