6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14039] Kolab: Initial folder sync is done twice
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. .._..__ .__ | ||_/ | [__)| \ |__|| \_|_[__)|__/
Comment
> Hi Michael, > > using the new Token sync based strategy, I noticed the initial sync > is done twice. > Looks like we don't store the initial token / stamp before doing > another full, initial sync. > > --------------------------------- > [root@horde-git tmp]# egrep "Full|token" horde.log > 2015-07-02T15:50:42+02:00 DEBUG: HORDE [turba] [KOLAB_STORAGE] > Fetching stamp without token. [pid 25205 on line 248 of > "/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data/Cached.php"] > 2015-07-02T15:50:42+02:00 DEBUG: HORDE [turba] [KOLAB_STORAGE] Full > folder sync details: user: mueller, folder: INBOX/Contacts, uids: > [pid 25205 on line 248 of > "/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data/Cached.php"] > 2015-07-02T15:50:42+02:00 DEBUG: HORDE [turba] [KOLAB_STORAGE] Full > Horde_History sync for user: mueller, folder: INBOX/Contacts, > is_reset: 0, prefix: turba:sZ_eVtpyGKcNvfK4lzOlMs6: [pid 25205 on > line 73 of > "/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data/Query/History/Cache.php"] > 2015-07-02T15:50:42+02:00 DEBUG: HORDE [turba] [KOLAB_STORAGE] > Fetching stamp without token. [pid 25205 on line 248 of > "/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data/Cached.php"] > 2015-07-02T15:50:42+02:00 DEBUG: HORDE [turba] [KOLAB_STORAGE] Full > folder sync details: user: mueller, folder: INBOX/Contacts, uids: > [pid 25205 on line 248 of > "/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data/Cached.php"] > --------------------------------- > > > The full sync request is probably in the code for ages but was never > noticed before: > The time based sync triggers only every XX seconds and the session > based sync triggers one per login only. > > Personally I don't mind triggering multiple sync requests from the > specific Kolab drivers right now, we should just make use of the > token / stamp if we already have it. Otherwise huge folders will be > twice as slow to sync as they need to be :) > > Attached is a debug log from a newly created user "mueller" + > completely cleared Horde_Cache. > > Cheers, > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers