android_system_core/libstats/pull
Tej Singh c95f781901 Retry pullfinish with empty payload if call fails
If the first call for pullFinished fails, it is likely because the
transaction is too large. Currently, if this happens statsd will just
sleep until the timeout. With this change, the client will retry calling
pullFinish if the first attempt fails, but with an empty payload (and
with success = false) to cause the puller to fail fast, and so statsd
does not wait for the timeout.

Test: atest LibStatsPullTests
Bug: 157768117
Change-Id: I3af991fae47bb7c09bf8a6fc83f28556b836c6e4
2020-05-29 15:21:08 -07:00
..
include libstatspull documentation for puller guardrails 2020-03-30 18:15:05 -07:00
tests Native API feedback for puller API 2020-03-20 11:10:56 -07:00
Android.bp Add require root to libstats tests 2020-04-24 10:44:25 -07:00
libstatspull.map.txt Native API feedback for puller API 2020-03-20 11:10:56 -07:00
OWNERS Native puller API: libstatspulled 2019-12-04 15:56:21 -08:00
stats_pull_atom_callback.cpp Retry pullfinish with empty payload if call fails 2020-05-29 15:21:08 -07:00
TEST_MAPPING Native API feedback for puller API 2020-03-20 11:10:56 -07:00