software-store-developers team mailing list archive
-
software-store-developers team
-
Mailing list archive
-
Message #00029
Re: DatabaseModified error
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?
[..]
Thanks a lot for looking into this! So far I was under the impression
we get something wrong with the (external) update-software-center
(because the error message looks like this). But you are right, there
is a problem with our usage of the threaded xapian enqire.
> Disclaimer: a lot of the docs/list-conversations i found were a few years
> old, but i couldn't see any release overviews which indicated any
> substantial change in this domain.
Yeah, I think this has not really changed.
> I am just thinking aloud... on a friday night... after a wine... or two ...
> ... regardless of whether i am on the right track, and assuming these errors
> are still occurring, we should definitely investigate the source of this
> issue? Yes? No?
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.
Cheers,
Michael
Follow ups
References