https://bugs.kde.org/show_bug.cgi?id=340664
Bug ID: 340664 Summary: Syncs the whole inbox,not just the changes Product: kmail2 Version: 4.14.1 Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: message list Assignee: kdepim-bugs@kde.org Reporter: c...@mail.3d.hu At every startup of Kontact, kmail does a full sync of the Inbox. Having up to 100k messages, this takes a very long time. This is confirmed by network activity, it downloads the full inbox. Here's a debug log from Akonadi console while the full sync is running: akonadi_imap_resource_1 (0x7fbfcc012ab0) 97436 MERGE (REMOTEID SILENT) 112 11237 (\MimeType[message/rfc822] "\\Gid[<53b042621c36e_2e423fba9b859e8c49...@back05.couchsurfing.com.mail>]" "\\RemoteId[540063]") ( PLD:HEAD[1] {2423} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2423 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 252 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97436 [UIDNEXT 1798220 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97436 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97437 MERGE (REMOTEID SILENT) 112 11563 (\MimeType[message/rfc822] "\\Gid[<53b044f3be7b7_224b3fd2dd839e9860...@back06.couchsurfing.com.mail>]" "\\RemoteId[540064]") ( PLD:HEAD[1] {2445} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2445 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 270 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97437 [UIDNEXT 1798221 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97437 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97438 MERGE (REMOTEID SILENT) 112 5309 (\MimeType[message/rfc822] "\\Gid[<20140629170428.gf12...@an3as.eu>]" "\\RemoteId[540065]") ( PLD:HEAD[1] {3726} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 3726 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 386 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97438 [UIDNEXT 1798222 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97438 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97439 MERGE (REMOTEID SILENT) 112 11148 (\MimeType[message/rfc822] "\\Gid[<53b0485f9f7d4_4e023f8e5a9efe9481...@back04.couchsurfing.com.mail>]" "\\RemoteId[540066]") ( PLD:HEAD[1] {2423} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2423 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 252 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97439 [UIDNEXT 1798223 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97439 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97440 COMMIT akonadi_imap_resource_1 (0x7fbfcc012ab0) 97440 OK Commit completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97441 BEGIN akonadi_imap_resource_1 (0x7fbfcc012ab0) 97441 OK Begin completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97442 MERGE (REMOTEID SILENT) 112 5619 (\MimeType[message/rfc822] "\\Gid[<53b05344.5000...@debian.org>]" "\\RemoteId[540067]") ( PLD:HEAD[1] {4394} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3691646_r4] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 739 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97442 [UIDNEXT 1798226 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97442 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97443 MERGE (REMOTEID SILENT) 112 6749 (\MimeType[message/rfc822] "\\Gid[<20140629175803.GA2541@pisco.westfalen.local>]" "\\RemoteId[540068]") ( PLD:HEAD[1] {4316} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3691648_r4] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 308 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97443 [UIDNEXT 1798227 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97443 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97444 MERGE (REMOTEID SILENT) 112 11327 (\MimeType[message/rfc822] "\\Gid[<53b0572bc63ae_1b753f82866a9e9028...@back06.couchsurfing.com.mail>]" "\\RemoteId[540069]") ( PLD:HEAD[1] {2423} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2423 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 248 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97444 [UIDNEXT 1798474 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97444 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97445 MERGE (REMOTEID SILENT) 112 11203 (\MimeType[message/rfc822] "\\Gid[<53b05fc853300_68a33fc9884c7e9458...@back05.couchsurfing.com.mail>]" "\\RemoteId[540070]") ( PLD:HEAD[1] {2417} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2417 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 246 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97445 [UIDNEXT 1798475 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97445 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97446 MERGE (REMOTEID SILENT) 112 11262 (\MimeType[message/rfc822] "\\Gid[<53b061f35d9c1_777c3fe4d01dbe9812...@back04.couchsurfing.com.mail>]" "\\RemoteId[540071]") ( PLD:HEAD[1] {2421} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2421 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 251 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97446 [UIDNEXT 1798476 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97446 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97447 MERGE (REMOTEID SILENT) 112 7580 (\MimeType[message/rfc822] "\\Gid[<CACXN+=q3sm2gatqbe0v_9uxrpmv+fnq13jve+9ox6uekzbb...@mail.gmail.com>]" "\\RemoteId[540072]") ( PLD:HEAD[1] {5200} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692036_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 403 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97447 [UIDNEXT 1798477 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97447 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97448 MERGE (REMOTEID SILENT) 112 8993 (\MimeType[message/rfc822] "\\Gid[<cafhdzw6omqzr7rfupqyb85sscy_oc-a+xez4ewdhg9gli1+...@mail.gmail.com>]" "\\RemoteId[540073]") ( PLD:HEAD[1] {5441} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692038_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 1060 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97448 [UIDNEXT 1798478 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97448 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97449 MERGE (REMOTEID SILENT) 112 7797 (\MimeType[message/rfc822] "\\Gid[<CACXN+=RSnWB6SzOYKfKEHuo4CP_XWF_ATvG+L__S+RZv9n8=m...@mail.gmail.com>]" "\\RemoteId[540074]") ( PLD:HEAD[1] {5188} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692040_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 395 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97449 [UIDNEXT 1798479 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97449 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97450 MERGE (REMOTEID SILENT) 112 16694 (\MimeType[message/rfc822] "\\Gid[<handler.752559.d752559.140406800514702.ackd...@bugs.debian.org>]" "\\RemoteId[540075]") ( PLD:HEAD[1] {4869} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692042_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 394 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97450 [UIDNEXT 1798480 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97450 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97451 MERGE (REMOTEID SILENT) 112 46855 (\MimeType[message/rfc822] "\\Gid[<44a3f99654c7b081e53a8b5b43bdb2235e8.20140629192...@mail24.us4.mcsv.net>]" "\\RemoteId[540076]") ( PLD:HEAD[1] {3183} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 3183 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 405 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97451 [UIDNEXT 1798481 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97451 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97452 MERGE (REMOTEID SILENT) 112 7952 (\MimeType[message/rfc822] "\\Gid[<CACXN+=tmcxp03f9zkbv2y8xyooylnzxkwl+pq1_rca+he06...@mail.gmail.com>]" "\\RemoteId[540077]") ( PLD:HEAD[1] {5222} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692046_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 427 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97452 [UIDNEXT 1798482 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97452 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97453 MERGE (REMOTEID SILENT) 112 11203 (\MimeType[message/rfc822] "\\Gid[<53b06a4297e45_43063faabe25be8c15...@back03.couchsurfing.com.mail>]" "\\RemoteId[540078]") ( PLD:HEAD[1] {2430} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2430 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 262 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97453 [UIDNEXT 1798483 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97453 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97454 MERGE (REMOTEID SILENT) 112 11393 (\MimeType[message/rfc822] "\\Gid[<53b06c88d55f5_4c633faabe25be8c15...@back03.couchsurfing.com.mail>]" "\\RemoteId[540079]") ( PLD:HEAD[1] {2427} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2427 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 257 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97454 [UIDNEXT 1798484 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97454 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97455 MERGE (REMOTEID SILENT) 112 11350 (\MimeType[message/rfc822] "\\Gid[<53b06ece41cd9_14853fd600eb1e9422...@back05.couchsurfing.com.mail>]" "\\RemoteId[540080]") ( PLD:HEAD[1] {2450} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2450 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 279 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97455 [UIDNEXT 1798485 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97455 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97456 MERGE (REMOTEID SILENT) 112 7681 (\MimeType[message/rfc822] "\\Gid[<CACXN+=TsPKRc=jjcur3ttubnwu94rbk1i-75tfhkk9hvwnk...@mail.gmail.com>]" "\\RemoteId[540081]") ( PLD:HEAD[1] {5214} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692054_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 420 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97456 [UIDNEXT 1798486 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97456 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97457 MERGE (REMOTEID SILENT) 112 11772 (\MimeType[message/rfc822] "\\Gid[<53b06ff16bfba_57ca3fc6470b1e9832...@back04.couchsurfing.com.mail>]" "\\RemoteId[540082]") ( PLD:HEAD[1] {2437} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2437 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 266 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97457 [UIDNEXT 1798487 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97457 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97458 MERGE (REMOTEID SILENT) 112 7631 (\MimeType[message/rfc822] "\\Gid[<CACXN+=R+b+MmAW06ZbU7a1CkCszQD-1FVvaSNvzEhMfjAK=8...@mail.gmail.com>]" "\\RemoteId[540083]") ( PLD:HEAD[1] {5208} akonadi_imap_resource_1 (0x7fbfcc012ab0) + STREAM [FILE 3692058_r2] akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 411 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97458 [UIDNEXT 1798488 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97458 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97459 MERGE (REMOTEID SILENT) 112 11525 (\MimeType[message/rfc822] "\\Gid[<53b07e0fca3f_4cf53ffd14b61e9871...@back04.couchsurfing.com.mail>]" "\\RemoteId[540084]") ( PLD:HEAD[1] {2414} akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 2414 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) + Ready for literal data (expecting 244 bytes) akonadi_imap_resource_1 (0x7fbfcc012ab0) 97459 [UIDNEXT 1798489 DATETIME "05-Nov-2014 13:45:07 +0000"] akonadi_imap_resource_1 (0x7fbfcc012ab0) 97459 OK Merge completed akonadi_imap_resource_1 (0x7fbfcc012ab0) 97460 MERGE (REMOTEID SILENT) 112 11538 (\MimeType[message/rfc822] "\\Gid[<53b08218d2c69_4b443ff67bbb5e9878...@back06.couchsurfing.com.mail>]" "\\RemoteId[540085]") ( PLD:HEAD[1] {2428} Reproducible: Always Steps to Reproduce: 1. Start Kontact. 2. Wait for the first automatic folder sync or trigger manually. 3. Watch your network activity. Actual Results: Downloads the whole inbox. Expected Results: Download only new messages. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs