Re: [Sugar-devel] datastore results inconsistency

2009-06-29 Thread Daniel Drake
On Sat, 2009-06-27 at 12:57 +0200, Tomeu Vizoso wrote: > On Fri, Jun 26, 2009 at 18:57, Daniel Drake 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

Re: [Sugar-devel] datastore results inconsistency

2009-06-27 Thread Tomeu Vizoso
On Fri, Jun 26, 2009 at 18:57, Daniel Drake 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

[Sugar-devel] datastore results inconsistency

2009-06-26 Thread Daniel Drake
Hi Tomeu, I found the issue with the journal showing a duplicated entry after hand-deleting a datastore entry. It's an issue in the datastore, in the same function: DataStore.find() After your patch, we now weed out the entries that don't exist on-disk, but we still return "count" items (which i