Bug 2222174

Summary: The folder 'x' cannot be compacted because another operation is in progress.
Product: [Fedora] Fedora Reporter: Petr Menšík <pemensik>
Component: thunderbirdAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: erack, gecko-bugs-nobody, kai-engert-fedora, klaas, mail, rhughes, rstrode, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:26:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
retention policy
none
account general information
none
operation in progress message
none
synchronization & storage panel none

Description Petr Menšík 2023-07-12 07:02:32 UTC
For some time my thunderbird occasionally emits quite annoying error message that another operation is in progress. It seems it is blocking itself. I have been running multiple thunderbird instances concurrently on _different_ machines. My home is local on encrypted disk, it is not shared in any way.

I have few folders configured to be compacted and dropped automatically. But this error happens in rows. It tells me for one folder, I click okay. It says another folder cannot be compacted too. Then it follows with 3-7 repeats, which are quite annoying.

Please help me finding a reason for this. I tried running thunderbird from terminal to see what it is writing. Unfortunately no error message were printed there.

Reproducible: Sometimes

Steps to Reproduce:
1. have thunderbird configured for gmail account
2. have a lot of mail folders for separate mailing lists
3. have it running few hours.
Actual Results:  
Quite annoying error message saying the operation could not be done.

Expected Results:  
Some kind of locking is done on each folder. Folder operations should have some jitter randomized, so they should not clash if I have multiple thunderbird instances connected to the same account.

Comment 1 Petr Menšík 2023-07-12 07:04:06 UTC
Created attachment 1975286 [details]
retention policy

Comment 2 Petr Menšík 2023-07-12 07:05:20 UTC
Created attachment 1975287 [details]
account general information

Comment 3 Petr Menšík 2023-07-12 07:06:16 UTC
Created attachment 1975288 [details]
operation in progress message

Comment 4 Petr Menšík 2023-07-12 07:07:17 UTC
Created attachment 1975289 [details]
synchronization & storage panel

Comment 5 Martin Stransky 2023-07-18 08:03:58 UTC
Frankly that's beyond our scope here - please report it at bugzilla.mozilla.org to thunderbird component.
Thanks.

Comment 6 Petr Menšík 2023-12-01 12:07:02 UTC
I guess bug https://bugzilla.mozilla.org/show_bug.cgi?id=288896 is relevant here. I haven't found existing bug for compact operation specifically.

Issue https://bugzilla.mozilla.org/show_bug.cgi?id=1757181 seems to be similar.
But I have filled https://bugzilla.mozilla.org/show_bug.cgi?id=1867762 as a new bug, because not existing bug seemed to report exactly this.

Comment 7 Aoife Moloney 2024-05-28 13:26:39 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.