#2627 BLOC Trial-3: Datastore should check versions and recreate indexes automatically.

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 13 14:51:11 EDT 2007


#2627: Datastore should check versions and recreate indexes automatically.
------------------------+---------------------------------------------------
  Reporter:  jg         |       Owner:  bcsaller                         
      Type:  defect     |      Status:  reopened                         
  Priority:  blocker    |   Milestone:  Trial-3                          
 Component:  datastore  |     Version:  Development build as of this date
Resolution:             |    Keywords:                                   
  Verified:  0          |  
------------------------+---------------------------------------------------
Changes (by tomeu):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Mounting an usb device failed because of this:

 {{{
 DBusException: org.freedesktop.DBus.Python.xapian.DatabaseCorruptError:
 Traceback (most recent call last):
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/service.py", line 664, in _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/datastore.py", line 76, in mount
     mp = self.connect_backingstore(uri, **_options)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/datastore.py", line 168, in connect_backingstore
     bs.initialize_and_load()
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 74, in initialize_and_load
     self.load()
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 456, in load
     super(InplaceFileBackingStore, self).load()
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/backingstore.py", line 244, in load
     im.connect(index_name)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/olpc/datastore/xapianindex.py", line 84, in connect
     self.write_index = secore.IndexerConnection(repo)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/secore/indexerconnection.py", line 46, in __init__
     self._index = _xapian.WritableDatabase(indexpath,
 _xapian.DB_CREATE_OR_OPEN)
   File "/home/tomeu/sugar-jhbuild/build/lib/python2.5/site-
 packages/xapian.py", line 2759, in __init__
 _xapian.WritableDatabase_swiginit(self,_xapian.new_WritableDatabase(*args))
 DatabaseCorruptError: Cannot open tables at consistent revisions
 }}}

-- 
Ticket URL: <https://dev.laptop.org/ticket/2627#comment:4>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list