diff options
author | David Anderson <dvander@google.com> | 2018-07-26 14:30:35 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2018-07-30 13:20:33 -0700 |
commit | 3e18fe8026478516d3287fcc9e8260c2c48cf9bb (patch) | |
tree | 17ddf276495b7a0e4bbbdcd5054d18faba288fb3 /libutils/ProcessCallStack_fuzz.cpp | |
parent | 0bc973265d3f15a09a99c503ce39b162d2758ebc (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
(cherry-picked from 21f20feec999779b07d830d62432e70e120371bd)
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions