D18890: Add button to reset index database and repair Baloo crashing
Yunhe Guo
noreply at phabricator.kde.org
Tue Feb 26 19:06:21 GMT 2019
guoyunhe added a comment.
In D18890#419886 <https://phabricator.kde.org/D18890#419886>, @mart wrote:
> In D18890#410144 <https://phabricator.kde.org/D18890#410144>, @guoyunhe wrote:
>
> > In D18890#410137 <https://phabricator.kde.org/D18890#410137>, @davidedmundson wrote:
> >
> > > If we know the DB is corrupted, and it's just a cache, why do we need a user facing button?
> >
> >
> > It is also possible to move this function to database corruption handler. One thing I worry about is: if the database corruption is caused by software reason, it will repeat the corrupt-rebuild-corrupt dead loop...
>
>
> maybe also add an heuristic that if has been automatically rebuilt more than x times in the last y time, stop doing it?
Should work. I will make a patch for Baloo and then update this patch.
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D18890
To: guoyunhe, #plasma, #baloo
Cc: mart, davidedmundson, bruns, ngraham, plasma-devel, jraleigh, GB_2, ragreen, Pitel, domson, ashaposhnikov, astippich, spoorun, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, abrahams, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190226/920a85f0/attachment-0001.html>
More information about the Plasma-devel
mailing list