Commit [9792f0]  Maximize  Restore  History

Bug 890040 - Protect against orphans in Android health report uploader. r=rnewman, a=lsblakk

This does two main things. First, it tracks sets of obsolete document
IDs and retries obsoletes and deletes. Second, it tracks document IDs
that are attempted to be written to the server for obsolescence or
deletion without waiting for a server response to prevent orphaning
documents on successful upload and failed response.

The ObsoleteDocumentTracker uses a JSON map to maintain obsolete
document IDs and priority values. That's not the right data
structure; Bug 894194 tracks improving it.

Nick Alexander Nick Alexander 2013-07-16

added mobile/android/base/background/healthreport/upload/ObsoleteDocumentTracker.java
changed mobile
changed mobile/android
changed mobile/android/base
changed mobile/android/base/android-services-files.mk
changed mobile/android/base/background
changed mobile/android/base/background/bagheera
changed mobile/android/base/background/bagheera/BagheeraClient.java
changed mobile/android/base/background/healthreport
changed mobile/android/base/background/healthreport/HealthReportConstants.java.in
changed mobile/android/base/background/healthreport/HealthReportUtils.java
changed mobile/android/base/background/healthreport/upload
changed mobile/android/base/background/healthreport/upload/AndroidSubmissionClient.java
changed mobile/android/base/background/healthreport/upload/HealthReportBroadcastService.java
changed mobile/android/base/background/healthreport/upload/HealthReportUploadService.java
changed mobile/android/base/background/healthreport/upload/SubmissionClient.java
changed mobile/android/base/background/healthreport/upload/SubmissionPolicy.java
changed mobile/android/base/sync
changed mobile/android/base/sync/CollectionKeys.java
changed mobile/android/base/sync/ExtendedJSONObject.java
changed mobile/android/base/sync/SyncConfiguration.java
changed mobile/android/services
changed mobile/android/services/java-sources.mn
mobile/android/base/background/healthreport/upload/ObsoleteDocumentTracker.java Diff Switch to side-by-side view
Loading...
mobile
Directory.
mobile/android
Directory.
mobile/android/base
Directory.
mobile/android/base/android-services-files.mk Diff Switch to side-by-side view
Loading...
mobile/android/base/background/bagheera/BagheeraClient.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/HealthReportConstants.java.in Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/HealthReportUtils.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/upload/AndroidSubmissionClient.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/upload/HealthReportBroadcastService.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/upload/HealthReportUploadService.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/upload/SubmissionClient.java Diff Switch to side-by-side view
Loading...
mobile/android/base/background/healthreport/upload/SubmissionPolicy.java Diff Switch to side-by-side view
Loading...
mobile/android/base/sync/CollectionKeys.java Diff Switch to side-by-side view
Loading...
mobile/android/base/sync/ExtendedJSONObject.java Diff Switch to side-by-side view
Loading...
mobile/android/base/sync/SyncConfiguration.java Diff Switch to side-by-side view
Loading...
mobile/android/services/java-sources.mn Diff Switch to side-by-side view
Loading...