[Xapian-tickets] [Xapian] #654: Getting EOF when using get_data() in a remote database
Xapian
nobody at xapian.org
Tue Apr 28 23:19:56 BST 2015
#654: Getting EOF when using get_data() in a remote database
---------------------------+-----------------------------
Reporter: Kronuz | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3.3
Component: Backend-Chert | Version: 1.2.18
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+-----------------------------
Comment (by olly):
For me, the '''server''' reports:
{{{
Got exception NetworkError: Received EOF (context: db_the_bug)
Closing connection.
}}}
(It's clearer this is from the server if you run the server in a separate
terminal.)
But that just means "client closed the connection" - it's not a bug for a
read-only client to do that since there's nothing to commit and so no need
for an explicit shutdown exchange. For a writable client, it's useful for
the client to wait for the database to actually be closed, since the write
lock will still be held until then, and any implicit commit on close won't
have happened.
I guess your server just doesn't display that message.
It's not a very useful message, and potentially confusing (as here) -
perhaps we should suppress it or reword it (or suppress it by default and
only show it with `--verbose`).
--
Ticket URL: <http://trac.xapian.org/ticket/654#comment:11>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list