[Xapian-tickets] [Xapian] #337: Extend test of behaviour of databases after close
Xapian
nobody at xapian.org
Thu Apr 19 20:55:07 BST 2018
#337: Extend test of behaviour of databases after close
------------------------+------------------------------
Reporter: richard | Owner: gp1308
Type: defect | Status: new
Priority: low | Milestone: 1.4.6
Component: Test Suite | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
------------------------+------------------------------
Comment (by gp1308):
Thanks for the detailed explanation, I got to know many things. I agree
simulating local db failure case is not interesting. I want to work on the
remote case. I will update my progress on that ticket.
Please address question below only when you have time:
I didn't get the bug.
DIR is directory handler for `/proc/self/fd`, so fd returned by `dirfd()`
will be corresponding to the opened directory. How is that useful? Would
you elaborate a bit? You may be talking in the context of getting fds to
close db files? In that case `close(dirfd(DIR)` closes all files right?
As this is not important scenario, please address only if you have time.
--
Ticket URL: <https://trac.xapian.org/ticket/337#comment:24>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list