[Kde-pim] Review Request 111507: Add CHANGEDSINCE parameter to FETCH command
Commit Hook
null at kde.org
Tue Jul 16 12:57:25 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111507/
-----------------------------------------------------------
(Updated July 16, 2013, 11:57 a.m.)
Status
------
This change has been marked as submitted.
Review request for Akonadi, Vishesh Handa and Volker Krause.
Description
-------
This allows clients to fetch from the Akonadi server only those items that have been changed since given timestamp. The syntax is CHANGEDSINCE %unixTimestamp%.
Usecase for this feature is mainly in the Nepomuk Feeder agent, which currently has to fetch all items from Akonadi and all items from Nepomuk on start up and compare them, to make sure the Nepomuk database is in sync with Akonadi. It causes high IO and high CPU and memory consumption during start, slowing down the start up. This feature will allow the Feeder to request only items that have changed since last time, which in most cases should mean no items at all.
Diffs
-----
libs/protocol_p.h e94bf94
server/src/akonadiconnection.cpp b8bcca3
server/src/handler/fetchhelper.h 7f0f2b7
server/src/handler/fetchhelper.cpp 78ea6ed
server/src/handlerhelper.h 294b128
server/src/handlerhelper.cpp e6d2f51
Diff: http://git.reviewboard.kde.org/r/111507/diff/
Testing
-------
Thanks,
Dan Vrátil
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list