Open kushal0511-not opened 4 months ago
I have the same issue. Sometimes it passes and sometimes it doesn't (I use golang).
I use goroutines to accept connections and read messages and in case there is command that should be sent also to the replication server, I have another goroutine running waiting for channel to have value with command pushed in.
Every other test passes without any problems using this approach, but with this one I have been stuck for several hours now.
Also for some reason, sometimes the first SET command is not an ARRAY but a bulk string with some weird value.
@naqet the bulk string there is the RDB file from the handshake, which should've been read before starting to listen for propagated commands. Looks like you eventually passed the stage, do you happen to remember what the issue was?
@kushal0511-not we've improved logs so you shouldn't see the cryptic "resp: invalid syntax" log anymore, you should see a more informative log.
Still think we can improve logs more here, will keep open until we've got that done
I passed this stage(Command Processing Stage ) earlier now while running test for next stage it is again failing for Command processing stage I have just added 1 line (conn.Write()) in case REPLCONF. i tried without changing code , It passes sometimes but most of times it is failing.