Closed Bug 1924927 Opened 4 months ago Closed 4 months ago

FolderCompactor doesn't commit the message summary file before making a backup

Categories

(MailNews Core :: General, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr128 fixed, thunderbird132 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
thunderbird_esr128 --- fixed
thunderbird132 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

We could be backing up stale data.

Target Milestone: --- → 133 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/3f74315e90d3
Commit message summary file before backing it up for compaction. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Version: unspecified → Thunderbird 91

Comment on attachment 9431173 [details]
Bug 1924927 - Commit message summary file before backing it up for compaction. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #): bug 1890448 (probably)
User impact if declined: recently deleted messages could become undeleted if compact fails
Testing completed (on c-c, etc.): in 133.0b1
Risk to taking this patch (and alternatives if risky): very low

Attachment #9431173 - Flags: approval-comm-esr128?

Comment on attachment 9431173 [details]
Bug 1924927 - Commit message summary file before backing it up for compaction. r=#thunderbird-reviewers

[Triage Comment]
Approved for esr128

Attachment #9431173 - Flags: approval-comm-esr128? → approval-comm-esr128+

Hello,

Are there any specific STR that QA could perform in order to reproduce the faulty behaviour(crash) on an affected build and properly verify and confirm that it is fixed?

Comment on attachment 9431173 [details]
Bug 1924927 - Commit message summary file before backing it up for compaction. r=#thunderbird-reviewers

[Triage Comment]
Approved for release

Attachment #9431173 - Flags: approval-comm-release+

(In reply to Vlad Lucaci, Thunderbird QA (:vlucaci) from comment #6)

Hello,

Are there any specific STR that QA could perform in order to reproduce the faulty behaviour(crash) on an affected build and properly verify and confirm that it is fixed?

No, this is a difficult thing to test without somehow causing compaction to fail in the middle and leave the backup file behind. I'm already convinced that it works.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: