[Xapian-tickets] [Xapian] #698: invalid cross-device link (NFS?)
Xapian
nobody at xapian.org
Tue Jan 5 02:57:02 GMT 2016
#698: invalid cross-device link (NFS?)
---------------------------+--------------------------
Reporter: srepmub | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Backend-Chert | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: Linux
---------------------------+--------------------------
Comment (by olly):
Thanks.
If it's just an occasional bogus error from that `rename()` (e.g. due to
that NFS bug, or something similar), we could simply retry the `rename()`
if it fails with `EXDEV` (it would need to be a limited number of retries
to avoid the risk of an infinite loop). But I'd rather not just make that
sort of change without understanding more about the situation it's trying
to solve - it's not good to end up with a codebase full of hacks which we
aren't sure about the reasons for.
Also probably worth mentioning that the default backend (glass) in 1.4.x
will do less of this renaming (one file per commit rather than 3-5 files
per commit) so will probably suffer less from this issue.
--
Ticket URL: <http://trac.xapian.org/ticket/698#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list