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: NEW --- 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: 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.