Compare commits

...

3 Commits

Author SHA1 Message Date
philipyoo 54e1b344db revert 2019-06-07 11:57:44 -07:00
philipyoo 48cfe62034 change ver case 4 2019-06-07 11:57:32 -07:00
philipyoo 5df8e304c6 bf: ZENKO-1865 repair PHD master for puts
For putObjectVerCase4, we create an isPHD master on each
versioned put. Add a repair process to replace master isPHD
with the correct masters' value.
2019-06-06 10:08:14 -07:00
1 changed files with 4 additions and 0 deletions

View File

@ -551,6 +551,10 @@ class MongoClientInterface {
}); });
return cb(errors.InternalError); return cb(errors.InternalError);
} }
// Attempt to repair master
setTimeout(() => {
this.asyncRepair(c, bucketName, objName, mst, log);
}, ASYNC_REPAIR_TIMEOUT);
return cb(null, `{"versionId": "${objVal.versionId}"}`); return cb(null, `{"versionId": "${objVal.versionId}"}`);
}); });
} }