[Kolab-devel] [issue3196] large number of appointments can lead to corrupt index and loss of events

Bernhard Reiter kolab-issues at intevation.de
Fri Oct 31 17:27:35 CET 2008


New submission from Bernhard Reiter <bernhard at intevation.de>:

It is possible to lose calender entries.
This probably is a result of some index corruption, thus there is 
a relation to kolab/issue3185 (Index problems (it is somehow possible to 
corrupt the index, needs cache rebuild))

How I reproduced it (before with 1800 and 3600 events as well):
1. switch to calender view. Make sure only one calendar is selected.
2. import 20081110-1200events.ics to merge into the current calendar
   and wait for loading and server sync (~ 7 minutes)
(optional) 3. checking the server with date ;ls *. | wc : 1200
Observation: Upload rate is 1/second in the beginning (up to 100). 
Gets faster later. Note that we are in the 4 digit numbers for the folder
on the server.
4. Try calender sync. ok. Go to email view and try full sync: ok.
   The  calender folder shows 1200 emails.
5. Switch to calender view. Select the full week from 10 to 16th of November 
2008, with the mouse. 
6. switch to email, sync. ok.
7. switch to calender, ok. select tab for side by side view. scroll around. ok.
8. switch to email. close Kontact. Give password for kwallet. ok.
9. Start kontact agian.

10. Doing combinations of: sync, index rebuilds, switching to calender view,
    switching tabs, email view, sync, enabling the other calender, disabling
    and enabling the large calender. At the end in the email view at a sync,
    when the large calender was enabled, 
Observation: the sync suddenly takes longer, on the server
suddenly all but 99 items are gone. (Interesting enough, this was when the 
upload was felt faster after 99, but I cannot say precisely.)
Now the email folder shows 99 in Kontact and on the folder.
Switching back to calender, interesting enough all 1200 items can still
be seen.
    
Using the output of day_appointment-20081110-1200events.py
a5dbf4ef2206e5a88330590ea9f0ada9e73e871b  20081110-1200events.ics
and
Kontact Version 1.3 (enterprise4 0.20081027.876316) Windows
kdelibs-4.1-branch 877805
kdepimlibs-branch  877821
kdepim-branch      878049
l10n-kde4-branch   877770.

Configured to switch between tab view. Two accounts configured.
Immediate sync enabled. Groupware folder blended in.

----------
assignedto: till
files: day_appointment-20081110-1200events.py
messages: 17410
nosy: bernhard, ludwig, till
priority: critical
status: unread
title: large number of appointments can lead to corrupt index and loss of events
topic: kde client, kowi, windows
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3196>
___________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: day_appointment-20081110-1200events.py
Type: text/x-python
Size: 1690 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20081031/c479935e/attachment.py>


More information about the devel mailing list