Displaying 4 results from an estimated 4 matches for "xapian_test".
2018 Mar 05
2
Xapian 1.4.5 "Db block overwritten - are there multiple writers?" with Glass
...seCorruptError: Db block overwritten - are there
multiple writers?
I've remarked the error occur when i'm trying to get stored values from a
database with a lot of stored values. I can reproduce the error with simple
python2 script i've posted on github
https://github.com/staverne/xapian_test
https://github.com/staverne/xapian_test/blob/master/test_xapian.py
The script always works with Chert backend but sometimes fail with Glass
backend.
It look's like the error report here:
https://lists.xapian.org/pipermail/xapian-discuss/2017-May/009525.html
Any ideas ?
Cheers,
Sylvai...
2018 Mar 05
0
Xapian 1.4.5 "Db block overwritten - are there multiple writers?" with Glass
...t 08:52:47PM +0100, Sylvain Taverne wrote:
> I've remarked the error occur when i'm trying to get stored values from a
> database with a lot of stored values. I can reproduce the error with simple
> python2 script i've posted on github
>
> https://github.com/staverne/xapian_test
> https://github.com/staverne/xapian_test/blob/master/test_xapian.py
>
> The script always works with Chert backend but sometimes fail with Glass
> backend.
Thanks, that's brilliant - I can reproduce with glass which means I should
be able to pin down the cause (though it'...
2018 Mar 07
2
Xapian 1.4.5 "Db block overwritten - are there multiple writers?" with Glass
...in Taverne wrote:
> > I've remarked the error occur when i'm trying to get stored values from a
> > database with a lot of stored values. I can reproduce the error with simple
> > python2 script i've posted on github
> >
> > https://github.com/staverne/xapian_test
> > https://github.com/staverne/xapian_test/blob/master/test_xapian.py
> >
> > The script always works with Chert backend but sometimes fail with Glass
> > backend.
>
> Thanks, that's brilliant - I can reproduce with glass which means I should
> be able to...
2018 Jul 10
2
Xapian 1.4.5 "Db block overwritten - are there multiple writers?" with Glass
On Mon, Jul 09, 2018 at 10:29:18AM +0100, Olly Betts wrote:
> The attached patch reset this cursor each time commit() is called, and
> that fixes my C++ reproducer, though I think this ought to work as-is
> and the real bug is at a lower level.
I've dug deeper and that was indeed the case. Here's a patch which
addresses the root cause: