[Xapian-tickets] [Xapian] #434: reopen should re-read stub database file

Xapian nobody at xapian.org
Wed Sep 8 15:30:39 BST 2010

#434: reopen should re-read stub database file
 Reporter:  richard      |       Owner:  richard  
     Type:  defect       |      Status:  assigned 
 Priority:  normal       |   Milestone:  1.2.x    
Component:  Library API  |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  

Comment(by richard):

 We had more discussion on this on IRC, but never came to any firm
 conclusion, IIRC.

 I think it's reasonable to conclude that changing the implementation of
 reopen, and databases in general, such that stub database files get re-
 read on reopen is too intrusive to be worth the effort.  The "reopen" name
 is potentially misleading here, but again, it's probably not worth trying
 to rename that (and anyway, I can't think of a much clearer name).

 It would be nice to provide some way to reopen readers on replicated
 databases without having to close and open from scratch - but this isn't
 too hard to work around, and the plans for brass will include fixing this
 (by avoiding using a "hidden" stub database), so this shouldn't be a long
 term problem.

 Therefore, I'm willing to accept the argument that the fix is just to
 leave the notes in the replication documentation about this, and close the

Ticket URL: <http://trac.xapian.org/ticket/434#comment:7>
Xapian <http://xapian.org/>

More information about the Xapian-tickets mailing list