Initial sync of the calendar takes a prohibitive amount of time
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Critical
|
Unassigned | ||
| | sync-monitor |
Critical
|
Renato Araujo Oliveira Filho | ||
| | sync-monitor (Ubuntu) |
Critical
|
Unassigned | ||
| | sync-monitor (Ubuntu RTM) |
Critical
|
Renato Araujo Oliveira Filho | ||
| | syncevolution (Ubuntu) |
Critical
|
Unassigned | ||
| | syncevolution (Ubuntu RTM) |
Critical
|
Renato Araujo Oliveira Filho | ||
Bug Description
Mako running 116
Initial sync of default google calendar ran continuously for 90 mins before I terminated it
The ics file grew to 8MB
I can see two major things from the log:
- it syncs all past events (I would suggest starting with the current or previous month if necessary)
- it adds recurring events repeatedly (is the query using the wrong API and receiving events by timeframe rather than as raw event data?)
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2014-11-20
- Ubuntu Phablet Team: Pending requested 2014-11-18
-
Diff: 34 lines (+9/-0)1 file modifiedsrc/sync-configure.cpp (+9/-0)
- Ubuntu Phablet Team: Pending requested 2015-01-06
-
Diff: 34 lines (+9/-0)1 file modifiedsrc/sync-configure.cpp (+9/-0)
| Pat McGowan (pat-mcgowan) wrote : | #1 |
| tags: | removed: rtm14 |
| tags: | added: rtm14 |
| Bill Filler (bfiller) wrote : | #2 |
see related bug about memory usage by evolution-
https:/
| Bill Filler (bfiller) wrote : | #3 |
We use syncevolution, which communicates with Google on the remote side and evolution-
Renato has indicated there is a newer version of syncevolution which has recently been released that may improve the situation. The next step is to try this new version and see if it helps.
| Victor Tuson Palau (vtuson) wrote : | #4 |
Can we look at the new version so we can better evaluate the options to fix it
| tags: | added: touch-2014-10-02 |
| tags: |
added: touch-2014-10-30 removed: touch-2014-10-02 |
| Changed in sync-monitor: | |
| status: | New → Confirmed |
| Changed in evolution-data-server (Ubuntu): | |
| status: | New → Confirmed |
| Changed in syncevolution (Ubuntu): | |
| status: | New → Confirmed |
| tags: |
added: touch-2014-11-16 removed: touch-2014-10-30 |
| tags: |
added: ota-2 removed: touch-2014-11-16 |
| no longer affects: | evolution-data-server (Ubuntu) |
| Changed in sync-monitor (Ubuntu): | |
| status: | New → Fix Committed |
| importance: | Undecided → Critical |
| Changed in syncevolution (Ubuntu): | |
| status: | Confirmed → Fix Released |
| importance: | Undecided → Critical |
| Changed in syncevolution (Ubuntu RTM): | |
| importance: | Undecided → Critical |
| Changed in sync-monitor (Ubuntu RTM): | |
| importance: | Undecided → Critical |
| Changed in sync-monitor: | |
| status: | Confirmed → Fix Committed |
| Bill Filler (bfiller) wrote : | #5 |
We were able to improve the situation by limiting how far in the past to sync for calendar events. This was a combination of a new version of syncevolution, and a patch to it and sync-monitor to introduce a "syncInterval" configuration setting (defaults to 90 days) specifiying how many days in the past to go back when syncing. For my caledar, it used to take 20 minutes for initial sync. Now it takes 33 seconds! Will need testing by others but this seems to help greatly.
| tags: | added: ww03 |
| Changed in syncevolution (Ubuntu RTM): | |
| status: | New → In Progress |
| assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
| Changed in sync-monitor (Ubuntu RTM): | |
| status: | New → In Progress |
| assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → High |
| milestone: | none → ww05-2015 |
| status: | New → Confirmed |
| tags: |
added: ww05 removed: ww03 |
| tags: |
added: ww07 removed: ww05 |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| milestone: | ww05-2015 → ww07-2015 |
| Pat McGowan (pat-mcgowan) wrote : | #6 |
Add to critical per product team
| Changed in canonical-devices-system-image: | |
| importance: | High → Critical |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package sync-monitor - 0.1+15.
---------------
sync-monitor (0.1+15.
[ Ubuntu daily release ]
* New rebuild forced
[ Renato Araujo Oliveira Filho ]
* Use the new "startDate" filter to limit the number of events
retrieved on the first calendar sync. (LP: #1339016)
-- Ubuntu daily release <email address hidden> Tue, 27 Jan 2015 13:43:48 +0000
| Changed in sync-monitor (Ubuntu RTM): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Changed in sync-monitor: | |
| status: | Fix Committed → Fix Released |
| Changed in sync-monitor (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in syncevolution (Ubuntu RTM): | |
| status: | In Progress → Fix Released |

see https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 79014