[Akonadi] [Bug 276620] Mark EMail Actions spikes Virtuoso CPU usage

Vishesh Handa me at vhanda.in
Sat Aug 17 13:21:39 BST 2013


https://bugs.kde.org/show_bug.cgi?id=276620

Vishesh Handa <me at vhanda.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at vhanda.in

--- Comment #7 from Vishesh Handa <me at vhanda.in> ---
This bug is still somewhat present in 4.11. The main issue is that when an
email is marked as read the email is reindexed. This is done by throwing away
the old data and indexing the data from scratch. Ideally one should just update
the flags that have changed, unfortunately that is a little hard.

It's simple to change the isRead flag, but the other flags which indicate if
the email has been marked as important/spam/sent/etc are saved as tags. We
cannot just remove the old tags and add the new ones as that discards any tags
that a user might have tagged an email with.

The proper solution would be only to remove the tags added by the feeder and to
update them accordingly. This solution is a lot more complex and therefore has
not been implemented by anyone.

Anyway, email indexing is much faster with 4.11 so the cpu spikes should be
less noticeable. I'm leaving this bug as open until someone implements proper
indexing of the changes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list