From kde-pim Fri Dec 16 08:13:46 2011 From: Volker Krause Date: Fri, 16 Dec 2011 08:13:46 +0000 To: kde-pim Subject: Re: [Kde-pim] Data loss: kmail2 must not use existing [Folder-xy] Message-Id: <1571602.3uN61ndSud () vkpc9> X-MARC-Message: https://marc.info/?l=kde-pim&m=132402345419985 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0163371100642113065==" --===============0163371100642113065== Content-Type: multipart/signed; boundary="nextPart1569746.HXU6u603hW"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable --nextPart1569746.HXU6u603hW Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Thursday 15 December 2011 22:38:10 Sven Burmeister wrote: > Am Donnerstag, 15. Dezember 2011, 21:45:46 schrieb Ingo Kl=F6cker: > > We don't need GUIDs for every item. We only need them for folders. > > Creating GUIDs for folders will hardly result in a performance prob= lem > > and changing the format of an id shouldn't require massive code cha= nges > > either. Of course, it might require an upgrade mechanism. > >=20 > > The usage of GUIDs is the only sensible solution for external > > references. >=20 > I am no expert regarding akonadi. So I'm not sure this covers all kin= ds of > resources and interaction with clients. But for email it sounds sensi= ble to > me since there is no email without folder. >=20 > If I understood Volker correctly introducing the communication of a u= nique > id to identify the database needs a lot of code changes.=20 Adding just that identifier is trivial, using it all over the place (li= ke=20 proposed as a config file/key prefix for example) is the part I'm not h= appy=20 with. > Your proposal not. At least not as long as it fits into 64bit (or we are allowed to break = SC). Randomizing collection ids should also have little impact on the perfor= mance,=20 bulk operations on collections are far less common, and there's usually= a lot=20 less of them than we have items. regards Volker --nextPart1569746.HXU6u603hW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iD8DBQBO6v2+f5bM1k0S0kcRAsFlAJ9EWNokSn7MmBGvj5pnfv/fm8gy0wCcCEK0 zs5xLsu6VH3oFXT/Khkc2nU= =KAic -----END PGP SIGNATURE----- --nextPart1569746.HXU6u603hW-- --===============0163371100642113065== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============0163371100642113065==--