[Xapian-tickets] [Xapian] #709: Expose Database::get_revision_info()

Xapian nobody at xapian.org
Mon Oct 10 14:33:20 BST 2016


#709: Expose Database::get_revision_info()
-------------------------+-------------------------------
 Reporter:  Kronuz       |             Owner:  olly
     Type:  enhancement  |            Status:  assigned
 Priority:  high         |         Milestone:  1.4.1
Component:  Library API  |           Version:  git master
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------------

Comment (by Kronuz):

 Yes, the revision number itself is what we actually need. We are
 supporting WAL only for Glass, however it should as well work with Chert
 (and maybe others). I'm all for it returning the revision number directly
 (we don't use this with multiple databases either, so it could also throw
 an exception for those)

 Revision number could also be 64 bit, we also thought about it as well...
 32 bit is rather low. Regarding this, We have implemented a serializer for
 `long double` (`sortable_serialise()`) which works with 64 bit numbers,
 it's in our Xapiand repository, it's based upon the `sortable_serialise`
 in Xapian, if you mind taking a peek.

--
Ticket URL: <https://trac.xapian.org/ticket/709#comment:12>
Xapian <//xapian.org/>
Xapian



More information about the Xapian-tickets mailing list