• qetu3790's avatar
    Release clients blocked on module commands in cluster resharding and down state (#9483) · 4962c552
    qetu3790 authored
    
    
    Prevent clients from being blocked forever in cluster when they block with their own module command
    and the hash slot is migrated to another master at the same time.
    These will get a redirection message when unblocked.
    Also, release clients blocked on module commands when cluster is down (same as other blocked clients)
    
    This commit adds basic tests for the main (non-cluster) redis test infra that test the cluster.
    This was done because the cluster test infra can't handle some common test features,
    but most importantly we only build the test modules with the non-cluster test suite.
    
    note that rather than really supporting cluster operations by the test infra, it was added (as dup code)
    in two files, one for module tests and one for non-modules tests, maybe in the future we'll refactor that.
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    4962c552
test_helper.tcl 27.1 KB