commit | c3a32b861d6c0f57ad6505db337a33e76d71263f | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Mon Jul 13 15:52:00 2020 -0700 |
committer | Kweku Adams <kwekua@google.com> | Mon Jul 13 15:52:00 2020 -0700 |
tree | ac17b03e55200877331692633eb338933a111498 | |
parent | 79d4a4c181d5c4c8cfca51e83903b96ca1f30829 [diff] |
Avoid overlapping jobstore disk writes. Given that a followup write could be scheduled while one is already going on, if the first one took too long, then the send write could start and overlap with the first write. This change prevents that and makes sure there's only one write happening at a time. Bug: N/A Test: atest CtsJobSchedulerTestCases Test: atest FrameworksServicesTests:JobStoreTest Change-Id: Ie77510508795e5395a24a40266178283d0c525cb