cleanup datastore
This command provides you the ability to clean up the datastore for one or many spaces. With this command, all the old files and INVALID files get deleted.
In some scenarios, the old Shared Nothing files are not deleted, by default. Old Shared Nothing files are the ones that are not used for recovery or the ones that are not needed by a seeder that joins a space that is already in a READY state. These files never get deleted, not even when you use the recover command since this command only handles the files used for recovery and deletes any INVALID file involved in the recovery process. This is the where you need the cleanup datastore command. This command provides you the ability to clean up the datastore for one or many spaces. With this command, all the old files and INVALID files get deleted.
execute on members cleanup datastoreTo delete such files on a specific space, say "myspace", use the following command:
execute on members cleanup datastore "myspace"