bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Consider aggressive culling of persisted telemetry in "low storage" situations




Firefox for Android
10 months ago
6 months ago


(Reporter: Grisha, Unassigned)


Firefox Tracking Flags

(Not tracked)


This bug exists as a follow-up to Sync Ping work, which makes heavier use of local persistence than was the case prior with Java Telemetry. As opposed to the core ping, which is treated as "upload right away", sync pings are bundled out of telemetry information aggregated over some time, which is persisted in a special "local ping" json-backed store. As such, it becomes theoretically possible under certain circumstances to amass a large amount of local telemetry data which, for whatever reason, we're failing to bundle into a Sync Ping and upload.

We already have "culling" implemented for JSON-backed ping stores (keep at most 40 non-uploaded pings). A reasonable approach here would be to introduce a concept of "aggressive culling", and tightly define circumstances under which it may occur as well as the trade-offs being made.

Comment 1

6 months ago
Hi Grisha
May I know are you working on this?
Can I mark this P2?
You need to log in before you can comment on or make changes to this bug.