Closed danielealbano closed 1 year ago
Patch coverage: 8.37
% and project coverage change: -1.19
:warning:
Comparison is base (
fce1d38
) 77.98% compared to head (e2e9007
) 76.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This PR implements the Redis
CONFIG
andCONFIG GET
commands, although the config command is just empty as it's a container and returns an error when invoked.As
CONFIG GET
is theGET
command within theCONFIG
container and cachegrand doesn't support the latter, the PR implements all the necessary logic to support commands in within containers.The CONFIG GET returns all the keys that Redis returns but most of the values are "fake" and only a few ones are actually mapped to the internal cachegrand values, most of these are Redis specific and others are for features that haven't been implemented yet.
The CONFIG GET command supports both the protocols version 2 and 3.
The PR doesn't contain tests for the CONFIG GET command, will be introduced with a separated PR.