Add support for command `WAIT`
Add support for the WAIT command in DiceDB similar to the WAIT command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.
@arpitbbhayani could you please assign this to me?
@raghavbabbar Go for it. Although we do not have replicas at the moment, accept that parameter for full compatibility but do not act on it.
@raghavbabbar could you please add updates on your progress on the issue?
https://discord.com/channels/1034342738960855120/1264145943884992595/1273975330780221522 As we don't have replica at the moment. what functionality are we expecting out from this issue. could you please help me @JyotinderSingh
https://discord.com/channels/1034342738960855120/1264145943884992595/1273975330780221522 As we don't have replica at the moment. what functionality are we expecting out from this issue. could you please help me @JyotinderSingh
Makes sense, we can add this issue to the icebox for now.