dice icon indicating copy to clipboard operation
dice copied to clipboard

Add support for command `COMMAND INFO`

Open arpitbbhayani opened this issue 1 year ago • 2 comments

Add support for the COMMAND INFO command in DiceDB similar to the COMMAND INFO 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 avatar Sep 20 '24 17:09 arpitbbhayani

Please, @arpitbbhayani, can you assign this to me?

tdadadavid avatar Sep 20 '24 18:09 tdadadavid

I have already implemented COMMAND INFO as part of the previously pending issues. Please review the PR. https://github.com/DiceDB/dice/pull/612

meetghodasara avatar Sep 21 '24 05:09 meetghodasara

Closing, merged as part of https://github.com/DiceDB/dice/pull/612

lucifercr07 avatar Oct 01 '24 05:10 lucifercr07