Summary: | after deleting large number of email, Invalid uidset errors | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Blindauer Emmanuel <bugs.kde.org> |
Component: | IMAP resource | Assignee: | Christian Mollekopf <chrigi_1> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arpad.kunszt, kdepim-bugs, mollekopf, MurzNN, vkrause |
Priority: | NOR | ||
Version: | 4.10 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Blindauer Emmanuel
2013-02-12 04:44:53 UTC
(same errors with kde 4.8) I got the same error on KDEPIM 4.11 Beta2 after sending message: mymail@example.com: Store failed, server replied: A003406 BAD Error in IMAP command UID STORE: Invalid uidset Similar thread in forum about this error: http://forum.kde.org/viewtopic.php?f=215&t=111898 Git commit 498d6678f478bd1bd9bdc944bb790f6b16b7ade4 by Dan Vrátil. Committed on 30/10/2013 at 15:46. Pushed by dvratil into branch 'KDE/4.11'. Wait for changes from resource to be written to Akonadi before marking change as processed This fixes a problem with invalid RIDs after inter-resource moves. When there is an another changeReplay for the just moved item scheduled in the new parent resource, the item will have invalid RID (or rather RID assigned to it by the previous parent resource). It's because the ItemModifyJob dispatched from ResourceBase::changesCommitted() with the new RID is not finished yet when the next task is dispatched, and so the item in resource's EntityCache is not invalidated and the resource will use it instead of the updated one. By waiting for the ItemModifyJob dispatched from changesCommited() to finish before marking the change as processed and dispatching next task we make sure that in case the next task involves the same item the change will be stored in Akonadi and the item will be invalidated in local caches, forcing the resource to fetch the item again from Akonadi before starting the task. This fixes 'Invalid uidset' error reported by IMAP resources after the MailDispatcher agent moves the mail from local Outbox to remote Sent folder and updates it's flags. Related: bug 323762, bug 324807 FIXED-IN: 4.11.3 M +11 -5 akonadi/resourcebase.cpp http://commits.kde.org/kdepimlibs/498d6678f478bd1bd9bdc944bb790f6b16b7ade4 The IMAP resource has a new maintainer, reassigning to him. Looks like this has already been fixed I can confirm this - or a similar bug to this - in 4.11.2. I deleted a lot of e-mails one of my IMAP accounts. After that I've got this error messages on the other account when I send an e-mail. The e-mail is sent, it saved in the Sent folder but this pops out every time. I'm not sure that the mass e-mail removal is directly caused it. I upgraded to 4.11 from 4.10 and just after deleted a lot of unnecessary mails. The bug is appeared after those events. I have KDE & KMail Version 4.11.2 and this errors is still showing every time, but not after deleting - after storing message in "Sent" folder: http://i.imgur.com/VeeOv0x.png |