← Back to team overview

software-store-developers team mailing list archive

Re: DatabaseModified error

 

On Tue, Mar 08, 2011 at 01:34:04PM +0100, Michael Vogt wrote:
> On Fri, Mar 04, 2011 at 06:55:00PM +1300, Matthew McGowan wrote:
> > So looking at the bugs today, a fair few reports are related to
> > DatabaseModified errors.  Is this still an occurring phenomena?  I have
> > never seen this, but if people are experiencing this bug I wonder if this is
> > not due to our use of a single instance of a xapian db?
> [..]
> A big YES from me on this :) I created a test (tests/test_appstore.py)
> that makes it either hang or crash. This will be the starting point
> for the fix.
[..]

I commited a lock for the search now, the test passe now, but we will
need to inspect the code to see that the enquire stuff is always
protected (or better create our own enquire class like in the
appstore-experiment code).

Cheers, 
 Michael



References