• WuYunlong's avatar
    Clarification on the bug that was fixed in PR #7539. (#7541) · f7f77a74
    WuYunlong authored
    Before that PR, processCommand() did not notice that cmd could be a module
    command in which case getkeys_proc member has a different meaning.
    
    The outcome was that a module command which doesn't take any key names in its
    arguments (similar to SLOWLOG) would be handled as if it might have key name arguments
    (similar to MEMORY), would consider cluster redirect but will end up with 0 keys
    after an excessive call to getKeysFromCommand, and eventually do the right thing.
    f7f77a74
server.c 189 KB