The results.json file size could be >1M (data store entry limit), so we split it into multiple data store entries in this case. The current test results server may leave the data in corrupted state if data store error happens in the middle of saving multiple entries. To fix this, we should save keys to the new data entries separately and set the data_keys in DataStoreFile only when all data are saved successfully. This avoids the issue that only partial results are saved.
Created attachment 66285 [details] Proposed Patch
Comment on attachment 66285 [details] Proposed Patch View in context: https://bugs.webkit.org/attachment.cgi?id=66285&action=prettypatch > WebKitTools/ChangeLog:11 > + be corrupted if data store error happens in teh middle typo: teh
Committed r67024: <http://trac.webkit.org/changeset/67024>