[Akonadi] [Bug 333514] Maildir items are never expired from Akonadi cache because of Baloo

Daniel Vrátil dvratil at redhat.com
Wed Jul 9 21:16:50 BST 2014


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

Daniel Vrátil <dvratil at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |1.13.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/akon
                   |                            |adi/6cd8ffa5ce7a09c6103d87e
                   |                            |ff68c791ebee819c3

--- Comment #10 from Daniel Vrátil <dvratil at redhat.com> ---
Git commit 3150efbb267c75163b4399ae97504e80d02e7cd7 by Dan Vrátil.
Committed on 09/07/2014 at 20:04.
Pushed by dvratil into branch '1.13'.

Fix CollectionScheduler's timer not resuming when uninhibited

Since CacheCleaner is inhibited during various operations after start, the
timer was never correctly resumed when the inhibitor was removed, and so
payload parts were never expired.

M  +3    -2    server/src/collectionscheduler.cpp

http://commits.kde.org/akonadi/3150efbb267c75163b4399ae97504e80d02e7cd7

--- Comment #11 from Daniel Vrátil <dvratil at redhat.com> ---
Git commit 6cd8ffa5ce7a09c6103d87eff68c791ebee819c3 by Dan Vrátil.
Committed on 09/07/2014 at 20:12.
Pushed by dvratil into branch '1.13'.

Optimize the cacheOnly fetch scope override hack

With Baloo we introduced a hack that ignores CACHEONLY parameter to FETCH
command
when all requested items are local (provided by maildir/mbox resources) so that
Baloo was able to index local mails despite cache expiration policy.

This (together with the broken CollectionScheduler) lead to local mails never
expiring from Akonadi Cache.

This change permits the CACHEONLY override only to the Baloo Indexer agent.
Unlike some other agents/clients, the Baloo agent is smart and does only
incremental
checks, so it will not cause the entire maildirs to be loaded into Akonadi
cache.
FIXED-IN: 1.13.0

M  +5    -0    server/src/handler/fetchhelper.cpp

http://commits.kde.org/akonadi/6cd8ffa5ce7a09c6103d87eff68c791ebee819c3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list