[Kde-pim] Problem with Akonadi::InvalidateCacheJob not terminating in single file resource

Kevin Krammer kevin.krammer at gmx.at
Mon Oct 10 10:47:29 BST 2011


Hi David,

On Sunday, 2011-10-09, David Jarvie wrote:
> Hi Kevin,
> 
> Here are the debugger contents. The job tracker shows the
> InvalidateCacheJob still running, with the following sub-jobs showing as
> ended:
> 
> CollectionFetchJob
> - ItemFetchJob
> - - CollectionSelectJob.
> 
> akonadi_kalarm_resource_359 (0x8b9d900) 6 HRID MODIFY ((-15
> "file:///home/david/.kdetrunk/share/apps/kalarm/exp.ics") (0 "")) PARENT 0
> REMOTEID "file:///home/david/.kdetrunk/share/apps/kalarm/exp.ics"
> KAlarmCompatibility "4 10910" akonadi_kalarm_resource_359 (0x8b9d900) 6 OK
> MODIFY done
> akonadi_kalarm_resource_359 (0x8b9d900) 7 HRID LSUB ((-17
> "file:///home/david/.kdetrunk/share/apps/kalarm/exp.ics") (0 "")) 0 () ()
> akonadi_kalarm_resource_359 (0x8b9d900) * 261 0 (NAME "Old expired"
> MIMETYPE (application/x-vnd.kde.alarm.archived) REMOTEID
> "file:///home/david/.kdetrunk/share/apps/kalarm/exp.ics" REMOTEREVISION ""
> RESOURCE "akonadi_kalarm_resource_359" CACHEPOLICY (INHERIT true INTERVAL
> -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ENTITYDISPLAY
> "(\"Old expired\" \"kalarm\" \"\" ())" AccessRights "wcdW"
> KAlarmCompatibility "4 10910" KAlarmCollection "2 2 1 0")
> akonadi_kalarm_resource_359 (0x8b9d900) 7 OK List completed

That's the collection fetch job

> akonadi_kalarm_resource_359 (0x8b9d900) 8 SELECT SILENT 261
> akonadi_kalarm_resource_359 (0x8b9d900) 8 OK Completed
> akonadi_kalarm_resource_359 (0x8b9d900) 9 FETCH 1:* EXTERNALPAYLOAD (UID
> REMOTEID REMOTEREVISION COLLECTIONID FLAGS SIZE DATETIME)
> akonadi_kalarm_resource_359 (0x8b9d900) 9 OK FETCH completed

The item fetch job. There seem to be no items in the collection.

As far as I can see this should hit the fetchJob->items().size() == 0 check in 
invalidatecachejob.cpp:77

Maybe you can add a debug output there?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111010/0e8c26ab/attachment.sig>
-------------- next part --------------
_______________________________________________
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