Closed rohitpaulk closed 4 months ago
Thanks to @urielsalis for highlighting this!
Let's implement retries instead of an arbitrary sleep (that way tests are fast for most cases). If the GET command returns null the first time, let's sleep for 500ms and retry again, upto 5 times per key.
I think we need to be either sleeping for a bit before running the
GET
commands, or we should retry them for a certain time period. The user's implementation seems correct from a practical perspective, it's expected that there might be a small delay between a command being propagated and it being applied on the client.