[Xapian-tickets] [Xapian] #709: Expose Database::get_revision_info()
Xapian
nobody at xapian.org
Mon May 23 16:15:36 BST 2016
#709: Expose Database::get_revision_info()
-------------------------+-------------------------------
Reporter: Kronuz | Owner: olly
Type: enhancement | Status: new
Priority: high | Milestone: 1.4.x
Component: Library API | Version: git master
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-------------------------------
Comment (by Kronuz):
Olly, we are using the revision number to compare if we need to
send/receive changes and what changes during replication. We needed to
implement a way to replicate the database as we couldn't use the current
replication protocol, it didn't suit our needs as it is.
Basically we need to receive the revision string and we need a way to
compare two revision strings to see which one is from an "older" revision.
Currently we're converting the string back to the revision number; as
we're only using glass that is a simple, but undesirable, way to check
that between the two strings.
We're not using backends which don't support revision info, so I'm not
entirely sure about if we want them all returning something or not.
--
Ticket URL: <https://trac.xapian.org/ticket/709#comment:7>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list