Stop deleting 'format.json' upon unsuccessful save (#5747)
An issue was reproduced when there a no more inodes available on an existing setup of 4 disks, now we took one of the disks and reformatted it to relinquish inodes. Now we attempt to bring the fresh disk back into setup and perform a heal - at this point creating new `format.json` fails on existing disks since they do not have more inodes available. At this point due to quorum failure, we end up deleting existing `format.json` as well, this PR removes the code which deletes existing `format.json` as there is no need to delete them.master
parent
b052bfa79e
commit
2c5f2e9669
Loading…
Reference in new issue