[Akonadi] [Bug 339393] Akonadi fail to fetch IMAP folder content with over 100MiB of messages (akonadi try to fetch too many UIDs at once)

Andre Woebbeking woebbeking at kde.org
Thu Oct 30 19:46:59 GMT 2014


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

--- Comment #9 from Andre Woebbeking <woebbeking at kde.org> ---
Git commit 94b64eebb6a88846b221aad810045fecb4173f79 by Andre Woebbeking.
Committed on 30/10/2014 at 19:46.
Pushed by woebbe into branch 'KDE/4.14'.

Make BatchFetcher workaround MS Exchange "bugs"

If the result of UID SEARCH is too big Exchange just disconnects. To work
around
this the UID SEARCH is splitted into smaller chunks (I choose 2000
arbitrarily).

First I wanted to do this for all servers but I've a server where UIDs go up to
1 billion which results in half a million SearchJobs. So I do the splitting
only
for Exchange servers. I don't know if there is a better way to recognize
Exchange
servers than to look at Session::serverGreeting()?

There are still issues with Exchange but at least for me it's usable again.
REVIEW: 120644

M  +31   -9    resources/imap/batchfetcher.cpp
M  +3    -2    resources/imap/batchfetcher.h
M  +2    -2    resources/imap/retrieveitemstask.cpp

http://commits.kde.org/kdepim-runtime/94b64eebb6a88846b221aad810045fecb4173f79

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list