Closed Bug 1600249 Opened 5 years ago Closed 5 years ago

Retry sending deletion request  ping

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: janerik, Assigned: janerik)

References

Details

(Whiteboard: [telemetry:glean-rs:m11] )

Attachments

(1 file)

On desktop, Telemetry will retry to send the deletion request ping, even if upload is otherwise disabled.

Glean will not do that.
Is that a requirement?
If so, we could launch an upload task on start to check if any left-over deletion_request pings are around.

Flags: needinfo?(chutten)
Priority: -- → P3

I'm not sure what we need from a compliance POV. +Alicia for a ruling on that.

I ended up having the Desktop impl retry on failure because it was simple to do. My vote is to, even if we don't have to for compliance, spend at least enough effort to figure out how hard it would be to do in the Glean SDK. If it ends up being a small lift, let's do it.

Flags: needinfo?(chutten) → needinfo?(agray)

(In reply to Chris H-C :chutten from comment #1)

I'm not sure what we need from a compliance POV. +Alicia for a ruling on that.

I ended up having the Desktop impl retry on failure because it was simple to do. My vote is to, even if we don't have to for compliance, spend at least enough effort to figure out how hard it would be to do in the Glean SDK. If it ends up being a small lift, let's do it.

Yes, as a user I would expect that if I opted out of telemetry to enable the data deletion and there was a failed attempt that we would try again to send the ping unless we have some kind of fatal error. I think from a regulatory perspective that would also be the expectation since we are telling users that opt-out will trigger the relevant deletion.

Flags: needinfo?(agray)
Assignee: nobody → jrediger
Priority: P3 → P1
Attached file GitHub Pull Request

Looks like it currently already retries: https://github.com/mozilla/glean/blob/master/glean-core/android/src/main/java/mozilla/telemetry/glean/scheduler/DeletionPingUploadWorker.kt#L188

As I understand it it's tried for a total runtime of 10 minutes (unless force-stopped I guess). Just makes it a bit harder to test.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Depends on: 1708637
No longer depends on: 1708637
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: