[Xapian-tickets] [Xapian] #236: Fix problems with concurrent db replication and modification (was: Implement automated tests of concurrent db replication and modification)
Xapian
nobody at xapian.org
Sun Dec 21 11:01:27 GMT 2008
#236: Fix problems with concurrent db replication and modification
---------------------------+------------------------------------------------
Reporter: richard | Owner: richard
Type: defect | Status: assigned
Priority: normal | Milestone: 1.1.0
Component: Backend-Flint | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
---------------------------+------------------------------------------------
Comment(by richard):
I've now got a repeatable test of this (implemented in python). I've
added it to the xapian-bindings/python/ directory, but not hooked it into
the automatic test run, since it currently fails. Am fixing at present.
Opening all the files in advance helps reduce the likelihood of problems,
but we can still get problems if one of the files is changed while the
files are being opened (eg, because the database being replicated is
switched). This results in an invalid database being sent to the client.
The fundamental problem is that the client tries to open the database,
before waiting for subsequent changesets to apply to the database which
would make it valid.
Changing title of ticket to indicate current status.
--
Ticket URL: <http://trac.xapian.org/ticket/236#comment:9>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list