Opened 7 years ago

Closed 6 years ago

#11862 closed enhancement (fixed)

If we have past reports where publishing failed, get them to the collector when we can

Reported by: arma Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Once #11860 is done, we might end up in the state where some reports are on disk and haven't been successfully sent.

Somehow in the course of normal operation ooni should notice that such reports exist, and send them.

Should we check for this state when we connect to a collector ("oh hey, we connected, is there anything on disk that we want to tell the collector also")? Should we check on startup for any tests? Should we have a separate script that runs periodically to flush old reports?

That last one sounds wisest to me, but I haven't thought through all the issues.

Child Tickets

TicketTypeStatusOwnerSummary
#11860enhancementclosedhellaisAnnotate on-disk reports with whether they've been successfully uploaded to the collector

Change History (1)

comment:1 Changed 6 years ago by hellais

Resolution: fixed
Status: newclosed

This has been implemented in master in the form of a script that shall be run to get a list of incomplete reports and choose to either upload all of them or selectively upload some of them.

I am going to consider this implemented.

Note: See TracTickets for help on using tickets.