Closed Bug 1664770 Opened 5 years ago Closed 5 years ago

Use QM_TRY* for storage initialization code

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: tt, Assigned: tt)

References

Details

Attachments

(4 files, 1 obsolete file)

From our telemetry records for 79 Release users, we have:

  • UpgradeStorageFrom0_0To1_0
    • 26,858 failures (5.95%)
    • 424,696 successes (94.05%)
  • UpgradeStorageFrom1_0To2_0
    • 5,226 (1.02%)
    • 508,791 (98.98%)
  • UpgradeStorageFrom2_0To2_1
    • 7,214 (1.32%)
    • 537,714 (98.68%)
  • UpgradeStorageFrom2_1To2_2
    • 52,234 (5.35%)
    • 923,947 (94.65%)
  • UpgradeStorageFrom2_2To2_3
    • 2,113 (0.18%)
    • 1,151,438 (99.82%)

The goal here is to add QM_TRY* for the related code so that we might be able to figure out failures.

Note that from TMO, it seems we don't have failures around upgrade code on Nithgly, but there are a few for Beta https://mzl.la/33q4KFT.

Blocks: 1665565

Comment on attachment 9176228 [details]
Bug 1664770 - Replace ToResultInvoke with MOZ_TO_RESULT_INVOKE_TYPED;

Revision D90523 was moved to bug 1665565. Setting attachment 9176228 [details] to obsolete.

Attachment #9176228 - Attachment is obsolete: true
Pushed by ttung@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/620a47766320 Use QM_TRY* for storage initialization code; r=dom-workers-and-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/5a535579e053 Use QM_TRY* for GetBinaryInputStream and GetBinaryOutputStream; r=dom-workers-and-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/66910ba403a6 Use QM_TRY* for metadata related functions; r=dom-workers-and-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/db810f5d5a60 Use QM_TRY* for upgrade classes' base classes; r=dom-workers-and-storage-reviewers,janv,sg
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: