commit | c3719911cb41f239cca724ad280e61d11dd48b8b | [log] [tgz] |
---|---|---|
author | Olivier Gaillard <gaillard@google.com> | Fri Mar 15 17:33:40 2019 +0000 |
committer | Olivier Gaillard <gaillard@google.com> | Fri Mar 15 21:30:43 2019 +0000 |
tree | a8281f7d900937cf9308bc13414622ddde319ee4 | |
parent | 63ee2dfc37daad31bf038d19ddd417140bb6e4a9 [diff] |
Full bucket should be reset even when the last bucket is invalid. If the bucket is not reset, we will sum the data from the previous bucket and the next bucket. As well, the value should only be added to the full bucket if the value is set. Bug: 128521677 Test: atest statsd_test Change-Id: I45bf924a5d2966044cecda34fff84b7cbfe070b0