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

David Jarvie djarvie at kde.org
Thu Oct 13 23:35:59 BST 2011


On Monday 10 October 2011 10:47:29 Kevin Krammer wrote:
> 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?

When I ran it again, it didn't even get into InvalidateCacheJobPrivate::itemFetchResult() - I put a debug statement at the start of that method. (Note that a debug statement in collectionFetchResult() did appear, so it's not because my debug output is going to the wrong place.) This time, the job tracker in AkonadiConsole shows the InvalidateCacheJob as still running long afterwards. The sub-jobs of InvalidateCacheJob are all shown as 'ended':

- CollectionFetchJob
- ItemFetchJob
- - CollectionSelectJob.

The akonadiconsole debugger output was the same as in my previous email.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111013/e96a2d5d/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