[Xapian-tickets] [Xapian] #426: Chert should write all base files, then flush all base files (was: Chert and flint should write all base files, then flush all base files)

Xapian nobody at xapian.org
Thu May 7 08:08:53 BST 2015


#426: Chert should write all base files, then flush all base files
---------------------------+------------------------------
 Reporter:  olly           |             Owner:  olly
     Type:  defect         |            Status:  assigned
 Priority:  normal         |         Milestone:  1.2.x
Component:  Backend-Chert  |           Version:  SVN trunk
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  Mac OS X
---------------------------+------------------------------

Comment (by olly):

 A few relevant updates:

 As of 1.2.19 (and 1.3.2), we only full sync once per commit, which should
 still give the same guarantees as full syncing all the files (unless you
 move the tables elsewhere and symlink them in, or similar odd cases).

 1.3.2 defaults to not using `F_FULLSYNC`, and provides a
 `Xapian::DB_FULL_SYNC` flag which can be passed to get full-sync where
 available (which seems to be only OS X currently).

 And this is only a performance issue, so I don't think it makes sense to
 change flint at this point - 1.2.x defaults to chert, and supports flint
 mainly to allow people to easily migrate.

 I would be interested to know how 1.2.19 or later performs on OS X in
 practice.

--
Ticket URL: <http://trac.xapian.org/ticket/426#comment:8>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list