CPC G06F 16/275 (2019.01) [G06F 9/45558 (2013.01); G06F 16/178 (2019.01); G06F 2009/45583 (2013.01); G06F 2009/45595 (2013.01)] | 18 Claims |
1. A method for maintaining a replicated disk in a distributed storage system, comprising:
maintaining, in one or more memories in a first zone of the distributed storage system, a first replica including a first copy of disk data including a plurality of files;
maintaining, in the one or more memories in a second zone of the distributed storage system, a second replica including a second copy of the disk data including the plurality of files;
determining that one or more given files of the first replica are corrupt; and
creating, in the second replica, one or more degraded file markers corresponding to the one or more given files;
scanning, by one or more backend processors, the data in the second replica for files marked as degraded;
extracting data file names from names of the degraded file marker; and
reconciling the first replica with the second replica using the extracted data file names, the reconciling comprising copying data from the second replica to the first replica.
|