Bug 247848 - akonadi fails syncing large collections from scratch
Summary: akonadi fails syncing large collections from scratch
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 15:36 UTC by Cyrille Dunant
Modified: 2011-09-17 08:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrille Dunant 2010-08-14 15:36:35 UTC
Version:           4.5 (using Devel) 
OS:                Linux

The syncing of a large collection/directory is done (seemingly) as an atomic operation: one never sees the directory filling up as it is synced up.

Now if the collection is large and the download unreliable/sometimes interrupted it is impossible to finish the syncing. 

For example, I have 10000 mails on a google mail account and the sync was not done overnight. Worse, because of the download limit of google, it was interrupted and all that had been downloaded was not cached, and presumably has to be downloaded again.

I have activated the offline cache option.

Reproducible: Always

Steps to Reproduce:
download a very large collection over an unreliable connection (small interruption every half hour)

Actual Results:  
No progress in the download is apparent after many hours

Expected Results:  
download should at least be partially completed, and continued when the server/the connection is restarted
Comment 1 Kevin Ottens 2011-09-17 08:39:54 UTC
Is it still happening for you with 4.7.x? I've been unable to reproduce that one, it just works for me. I even tested with a very large google mail account yesterday and retrieved two collections of 40k emails each just fine.

In case you still experience this please feel free to reopen. In such a case, we would need much more information like the actual IMAP server used and so on.