Cluster commands like FlushAll and Keys only contact one node. · Issue #240 · redis/go-redis

cli := redis.NewClusterClient(&redis.ClusterOptions{ Addrs: []string{"localhost:55400", "localhost:55401", "localhost:55402"}, }) // add data to a variety of keys // ... // now try flushing cli.Flu...