[Sugar-devel] datastore results inconsistency
Daniel Drake
dsd at laptop.org
Mon Jun 29 11:09:38 EDT 2009
On Sat, 2009-06-27 at 12:57 +0200, Tomeu Vizoso wrote:
> On Fri, Jun 26, 2009 at 18:57, Daniel Drake<dsd at laptop.org> wrote:
> > Hi Tomeu,
> >
> > I found the issue with the journal showing a duplicated entry after
> > hand-deleting a datastore entry.
>
> Thanks for looking at this. As we discussed on IRC, things are a bit
> more complex than I initially thought and we should rebuild all the
> index when we find that the disk contents don't match the index.
>
> Would be great if you could try these patches and see if the journal
> is more resistant in these cases:
>
> DS: http://shell.sugarlabs.org/~tomeu/rebuild_index_on_inconsistency.patch
> Shell: http://shell.sugarlabs.org/~tomeu/remake_cache_on_inconsistency.patch
Thanks, these seem to fix the problem!
Daniel
More information about the Sugar-devel
mailing list