• Binbin's avatar
    Move clusterBeforeSleep before blockedBeforeSleep (#12343) · 9600553e
    Binbin authored
    The new blockedBeforeSleep was added in #12337, it breaks the order in 2ecb5edf.
    
    This may be related to #2288, quoted from comment in #2288:
    ```
    Moreover the clusterBeforeSleep() call was misplaced at the end of the chain of the
    beforeSleep() call in redis.c. It should be at the top, before processing un blocking
    clients. This is exactly the reason in the specific instance of the bug as reported,
    why the state was not updated in time before clients served.
    ```
    9600553e
server.c 287 KB