[Akonadi] [Bug 406136] New: DAV resource syncs too eagerly, causing dirty entries
Erik Quaeghebeur
bugzilla_noreply at kde.org
Tue Apr 2 07:56:50 BST 2019
https://bugs.kde.org/show_bug.cgi?id=406136
Bug ID: 406136
Summary: DAV resource syncs too eagerly, causing dirty entries
Product: Akonadi
Version: unspecified
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: DAV Resource
Assignee: kdepim-bugs at kde.org
Reporter: kde at equaeghe.nospammail.net
Target Milestone: ---
I use Zanshin to manage my todos stored in Akonadi. Zanshin saves as-you-type
and therefore a lot of updates happen subsequently in Akonadi. The DAV resource
then apparently tries to sync all of those short after each other. This is too
fast for the network connection or server and then the edited entry becomes
dirty. (Any entry edited or added after that also becomes dirty.) This is
unrecoverable in Zanshin or the standard todo application and so I need to do a
time-consuming cleanup:
1. Using Akonadiconsole, find the dirty entries, copy their content to a file
somewhere and delete them from Akonadi
2. Stop Akonadi
3. Delete the agent_config_akonadi_davgroupware_resource_xy_changes.dat file
from ~/.config/akonadi. (N.B.: This file should be placed in
~/.local/share/akonadi I think, but that's another issue.)
4. Restart Akonadi
5. Manually re-edit or re-add the entries that were dirty.
I think that it is a bug that Akonadi syncs so eagerly as to cause dirty
entries. It's a major issue, because it requires a cleanup procedure
non-skilled people will not be able to find.
I think that as long as Akonadi allows Zanshin to write so eagerly to the
database, it should handle such additions intelligently. Probably this means
adding a minimal time between syncs or disallow concurrent syncing.
SOFTWARE/OS VERSIONS
Akonadi: 18.12.3 (qtsqlite)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list