I’m stuck on Stage #dq3. I am trying to debug, but no luck so far because I am unable to create rdb file that the platform uses. Maybe I am missing something.
I have taken the RDB file from my local Redis folder. And added that to my solution to read, but I think the format might be different.
If someone can guide me in getting/creating a sample rdb file, that would be great.
Steps I took to generate rdb file:
SET name “alice”
SET age 30
SAVE
This is how it looks when I open in notepad
REDIS0006þ namealice ageÀÿ¤n_GG3B
You can use terminal to view this rdb file with this command
hexdump -C dump.rdb
Note:- you should be in your redis folder directory to view the correct rdb file or else it will create a temporary rdb file with no previous saved data, and for getting the directory of rdb file you can use config get dir