[Xapian-devel] UUIDs for databases
Richard Boulton
richard at lemurconsulting.com
Sun Aug 3 10:00:46 BST 2008
Olly Betts wrote:
>> - The replication protocol currently works by a client sending a
>> message to the server saying "please give me the necessary updates to
>> transform a database with a given UUID and a given revision number into
>> a more recent version of the database". Therefore, for efficient
>> updates, the server needs to remember that the old revision number
>> applied for databases before a particular revision number.
>
> Do you mean "the old UUID" not "old revision number"?
Yes.
>> (3) is less important, because it would simply result in full-database
>> copies occurring when changesets could be applied, leading to an
>> efficiency drop, rather than corrupt databases. However, it would be
>> best to fix the changeset files to hold the information required before
>> a release, even if we don't actually write the code to search through
>> them if the database UUID doesn't match, so that incompatible changes
>> aren't required to implement this in future.
>
> I think this is only relevant if you're changing the UUID?
Yes, that's right.
--
Richard
More information about the Xapian-devel
mailing list