[Xapian-tickets] [Xapian] #678: Remote backend doesn't work with large databases
Xapian
nobody at xapian.org
Tue Jun 23 14:24:15 BST 2015
#678: Remote backend doesn't work with large databases
----------------------------+-----------------------------
Reporter: matf | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.2.22
Component: Backend-Remote | Version: 1.2.20
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
----------------------------+-----------------------------
Changes (by olly):
* milestone: 1.3.4 => 1.2.22
Comment:
I've split `decode_length()` into 32 and 64 bit variants, and the
appropriate one should now get called in each case, which should fix this.
That's in git master [24c7867693cf5746eab0e1cc50546b3e1bfc8332], which
will be in 1.3.4.
We already have a test that total doclength > (1<<32) works, but actually
this case is problematic only once it exceeds (1<<35), and the existing
test case didn't cause that to happen, so I've extended it to provide a
regression test:
466ae43450e238ce76b0f73fdd27e7c0bfad100a
It would be useful to have confirmation that your total document length is
> (1<<35) (34,359,738,368 i.e. 34 billion and some), as if it isn't then
the bug I've fixed isn't actually the one you hit.
We should also backport this.
--
Ticket URL: <http://trac.xapian.org/ticket/678#comment:8>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list