noelmcloughlin/k8s-statefulsets

redis slave should not run addslots

Closed this issue · 2 comments

I think line 414 should be deleted. I added during troubleshooting stuff.

/usr/local/bin/redis-cli cluster addslots "$(seq 0 16383)"

    if [ "$ORDINAL" -eq "0" ]; then
        ## Controllers
        /usr/local/bin/redis-cli cluster addslots "$(seq 0 16383)"
    else
        /usr/local/bin/redis-cli cluster addslots "$(seq 0 16383)"
        # Slaves of a random master

Also removed enclosing double quotes in commit: 2d64880