[Xapian-tickets] [Xapian] #709: Expose Database::get_revision_info()
Xapian
nobody at xapian.org
Fri Sep 9 22:27:15 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):
This is where it's used:
https://github.com/Kronuz/Xapiand/blob/ccadeabf7bba25c8a529ca69a2f3c11548f5a64e/src/database.cc#L65
The idea is to have a WAL file with all operations written in files. When
Xapiand loads, it get the current revision number in the database and then
it walks the file from that location till the end, executing all
operations which have a revision number higher than the current one.
--
Ticket URL: <https://trac.xapian.org/ticket/709#comment:9>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list