-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow DELETE query in Mail 3.7.2 #9812
Comments
131463 | nextcloud | localhost | nextcloud | Query | 3 | Updating | DELETE FROM This might be related. Mariadb is on 100% cpu and has a few thread with that. |
Addressed with #9761 |
Yes, probably. The sync has to delete those messages and it will be slow due to the full table scan. Until the query returns the mailbox will remain locked. |
*************************** 1. row *************************** |
That db query takes forever! |
This should be fine with #9813 |
Steps to reproduce
Expected behavior
Updated list of emails
Actual behavior
Get the updated list of emails
Mail app version
3.7.2
Mailserver or service
dovecot imap
Operating system
Debian 12
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MariaDB
Additional info
MessageService.js:48
GET https:// .... /apps/mail/api/messages?mailboxId=64&limit=20 409 (Conflict)
App.vue:86 [ERROR] mail: Background sync failed: undefined
{app: 'mail', uid: 'jobe', level: '0', error: MailboxLockedError
at m (https://... /apps/mail/js/mail.js?v=62d0ca7e-77:2:72882)
…}
The text was updated successfully, but these errors were encountered: