Re: akonadi fsck fails

Daniel Vrátil <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <1973336.s6nb9KWYxP@thor>
On Friday, August 21, 2015 9:16:51 AM CEST J. Roeleveld wrote:
> Hi all,
> 
> Not sure if this is the correct list to post this.
> 
> When I run "akonadictl fsck", I notice an error in the "akonadiserver.error"
> logfile showing a SQL-error.
> 
> The SQL that is used is over 100,000 characters long, with over 54,000
> variables that need to be loaded in during the execute-phase.
> 
> Is there a way to clean up the "PimItemFlagRelation" table manually to
> ensure this error stops?

Hi,

that's a known problem, the query is simply too large and MySQL refuses to 
execute it (same with PostgreSQL). I wouldn'd worry too much though - it does 
not mean that the database is corrupted or anything.  And since we use 
database constraints the PimItemFlagRelation table should not contain any 
orphaned records (this was added mostly for SQLite). It also does not affect 
the rest of fsck process, other checks are executed.

I should probably look at making the query saner, but that's not the top 
priority right now :)

Cheers,
Dan


> 
> Many thanks,
> 
> Joost Roeleveld

-- 
Daniel Vrátil
Email: [email protected]
Jabber: [email protected]
IRC: dvratil on Freenode (#kde, #kontact, #akonadi)

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJV2yypAAoJEE1pVXrssTaD4bAQALnZpJ+2+P6KVISEeu2Ev7HG
IAgTus/v8gNgIGHESq5N5z2vXneW115gsTEFxSZ50M9L4jkxW4XLGf8ugZnXOpjR
EjUah0RV3l8vOR43hR24ekAv5SjjCwkb0Ssdgh75jGSjdEjU4mqLsdvivqk2yuCJ
pCFTjiRudqxcsYv3+E+vRcH1eiGdP2/hJHTwqSN6XbHJBWZhlfEJhU2jck7Bk22B
/ZDI8cwEOMyJlbv3DAlQMAHYa8tF5To/TYecNDimDYOOBqF/bEe6ZUfV9nYkL0B2
JnYg6YyvZj0hDPqiLV6EQEKrAu4RRkBB4leBGsZPXOsvU5Gl7Bf/jxAxHm8VgPMP
iW3VafaKQOZH+IzVMGMt87FXsS8j8YeNZYgozrigolmxQtYWMqAw/xxEtGhrk2Ra
4lJzNMQ88yTaPeRMaKtAHBJ59CmCaDaLFdZfGvdNMB4UrlpIrEIiDye6e3pkOXNd
KAMY/7EF6x1jc1WvEBpZ5NwyS8LRrIIccGJM1rSlE3tcMi8dtMk7jxCPTObV/DZc
HMMo3fnyhjkD1UPcRLMRzSmEQxWaoCGrHFwsPotwkDm4askhO/IXA0FHcnRICluC
iFcjId8vNR8Oyk/hq5/x4ux8/Se4zzuP7Fx8WHlIBqYT68j3edhR4R+AyfhmRtO6
Udrcz9A/RmOVS3J0Svg5
=QRr/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.