diff options
| author | David Anderson <dvander@google.com> | 2018-07-26 14:30:35 -0700 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2018-08-21 09:20:33 -0700 |
| commit | 0026a14ff2655fa1b5c77e00e58e0f3dceed2d87 (patch) | |
| tree | ee5673b25069e6cf57a9f0bc84cb3e7180d20704 /trusty/coverage/coverage_test.cpp | |
| parent | 3488d9f9ddd19655511ccd8782f45e4b630ba8d2 (diff) | |
storaged: Don't duplicate uid_records from proto files.
It is possible for storaged to load the same saved proto file multiple
times, for example, if system_server crashes. In this case we do not
want to fill io_history with duplicate entries. This patch elides
records for which an app+userid record already exists for the same
timestamp.
Bug: 111578975
Test: gtest storaged_test.load_uid_io_proto
Change-Id: I87bc3e37d6464079cece03b5852285d79067b935
Merged-In: I87bc3e37d6464079cece03b5852285d79067b935
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
