[Xapian-tickets] [Xapian] #698: invalid cross-device link (NFS?)
Xapian
nobody at xapian.org
Thu Dec 10 14:05:20 GMT 2015
#698: invalid cross-device link (NFS?)
----------------------------+------------------
Reporter: srepmub | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version:
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: Linux |
----------------------------+------------------
hi,
we've recently switched to using xapian for version 7.2 of our groupware
solution called zarafa (https://www.zarafa.com/), and are very happy with
it so far!
we've run into a weird error recently though, which at first glance looks
like a bug in xapian when used with NFS. we don't have an strace yet, but
we do have one traceback:
File "/usr/lib/python2.7/dist-packages/zarafa_search/__init__.py", line
159, in main
plugin.commit()
File "/usr/lib/python2.7/dist-packages/zarafa_search/plugin_xapian.py",
line 115, in
commit
db.delete_document('XK:'+doc['sourcekey'].lower())
File "/usr/lib/python2.7/contextlib.py", line 154, in __exit__
self.thing.close()
DatabaseError: Couldn't update base file
/srv/zarafa/index/1909D712B7DF49A0B1253DC64DD954CF-
7B15C461919C4934A43DFC2D7479B7B8/spelling.baseB:
Invalid cross-device link
the customer has recently moved their xapian databases to NFS, and is
experiencing this issue now and then.
according to someone here who is more into file systems, xapian should
perhaps check for this error, and if it occurs retry the respective
operation in a safer way..?
--
Ticket URL: <http://trac.xapian.org/ticket/698>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list