Describe the bug
A short description of the bug.
create-cluster doesn't clean appendonlydir
To reproduce
Chens-MacBook-Pro:create-cluster leon$ ls
30001.log appendonlydir dump-30006.rdb
30002.log create-cluster nodes-30001.conf
30003.log dump-30001.rdb nodes-30002.conf
30004.log dump-30002.rdb nodes-30003.conf
30005.log dump-30003.rdb nodes-30004.conf
30006.log dump-30004.rdb nodes-30005.conf
README dump-30005.rdb nodes-30006.conf
Chens-MacBook-Pro:create-cluster leon$ ./create-cluster clean
Chens-MacBook-Pro:create-cluster leon$ ls
README appendonlydir create-cluster
Chens-MacBook-Pro:create-cluster leon$ cd appendonlydir/
Chens-MacBook-Pro:appendonlydir leon$ ls
appendonly-30001.aof.1.base.rdb appendonly-30004.aof.2.base.rdb
appendonly-30001.aof.1.incr.aof appendonly-30004.aof.2.incr.aof
appendonly-30001.aof.manifest appendonly-30004.aof.manifest
appendonly-30002.aof.1.base.rdb appendonly-30005.aof.2.base.rdb
appendonly-30002.aof.1.incr.aof appendonly-30005.aof.2.incr.aof
appendonly-30002.aof.manifest appendonly-30005.aof.manifest
appendonly-30003.aof.1.base.rdb appendonly-30006.aof.2.base.rdb
appendonly-30003.aof.1.incr.aof appendonly-30006.aof.2.incr.aof
appendonly-30003.aof.manifest appendonly-30006.aof.manifest
Steps to reproduce the behavior and/or a minimal code sample.
Expected behavior
A description of what you expected to happen.
can clean appendonlydir
Additional information
Any additional information that is relevant to the problem.
Comment From: enjoy-binbin
i suppose we juse forget to call rm -rf appendonlydir
https://github.com/redis/redis/blob/6ca97da0fcea4c260e656c3a05b12c34e5a4d63d/redis.conf#L1344-L1375