diff options
author | Bertrand SIMONNET <bsimonnet@google.com> | 2015-09-09 10:39:51 -0700 |
---|---|---|
committer | Bertrand SIMONNET <bsimonnet@google.com> | 2015-09-14 13:55:33 -0700 |
commit | 1df10c43eab5b8c483fbf882a0c8a6e5e59c73c0 (patch) | |
tree | caf438fc99b8fb5a9139512db4cb9e4cc21ffe34 /libutils/VectorImpl.cpp | |
parent | 2765d0abccd0c754422332d114cdecc271888e2d (diff) |
metricsd: Persist the report to disk if an upload fails.
If the metrics server is unreachable, we may need to resend a metrics
report later. Instead of keeping the staged report in memory, save it to
disk to avoid loosing data if the system restarts or crashes.
BUG: 23033262
TEST: unit tests.
Change-Id: Idd14964e40f022952469f47d675d8cda9586d7cd
Diffstat (limited to 'libutils/VectorImpl.cpp')
0 files changed, 0 insertions, 0 deletions