[Xapian-tickets] [Xapian] #436: Add "force" mode to replication client to force a full copy
Xapian
nobody at xapian.org
Tue Feb 2 00:36:31 GMT 2010
#436: Add "force" mode to replication client to force a full copy
---------------------+------------------------------------------------------
Reporter: richard | Owner: richard
Type: defect | Status: new
Priority: normal | Milestone: 1.2.x
Component: Other | Version: SVN trunk
Severity: normal | Blockedby:
Platform: All | Blocking:
---------------------+------------------------------------------------------
It would be useful to be able to force the replication client to perform a
full copy of a database, even if it thinks it already has a fully up-to-
date copy.
This could be of use if the master replication copy gets reverted to an
earlier revision, or if a corrupt replication has happened for some
reason. This happened to me in practice when a master replication copy
was restored from backup storage: the clients were not performing a
synchronisation step automatically because their revision number ended up
being greater than that of the master copy.
It's generally useful to be able to manually force a known clean copy of
the database in this type of situation.
The replication protocol and replication APIs don't need any changes to
support this: the client just needs to pretend that it doesn't have a copy
of the database at all currently. Therefore, this can be implemented
sometime in the 1.2.x series.
--
Ticket URL: <http://trac.xapian.org/ticket/436>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list