[Xapian-tickets] [Xapian] #781: Sockets not closed on RemoteDatabase error during initialisation

Xapian nobody at xapian.org
Wed Oct 6 04:52:36 BST 2021


#781: Sockets not closed on RemoteDatabase error during initialisation
-----------------------------+-------------------------------
 Reporter:  German M. Bravo  |             Owner:  Olly Betts
     Type:  defect           |            Status:  assigned
 Priority:  normal           |         Milestone:  1.5.0
Component:  Backend-Remote   |           Version:  1.4.11
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Comment (by Olly Betts):

 The tcp failure is because this tries to start a second remote server
 rather than a second connection to the existing server.

 Perhaps we should route all database access through stub files and then we
 could ask for the path of the database and then we could do:

 {{{
 WritableDatabase wsdb(get_writable_database_path_again());
 }}}

 (Except that method isn't exposed currently, but it could be.)
-- 
Ticket URL: <https://trac.xapian.org/ticket/781#comment:25>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list