• Binbin's avatar
    Fix redis-cli with sentinel crash due to SENTINEL DEBUG missing summary (#10250) · b95beeb5
    Binbin authored
    Fix redis-cli with sentinel crash due to SENTINEL DEBUG missing summary
    
    Because SENTINEL DEBUG missing summary in its json file,
    with the change in #10043, the following assertion will fail.
    ```
    [redis]# src/redis-cli -p 26379
    redis-cli: redis-cli.c:678: cliInitCommandHelpEntry: Assertion `reply->type == 1' failed.
    ```
    
    This commit add the summary and complexity for SENTINEL DEBUG,
    which introduced in #9291, and also improved the help message.
    b95beeb5
sentinel.c 206 KB