Opened 14 years ago

Closed 12 years ago

Last modified 11 years ago

#2317 closed defect (fixed)

disk-full causes data store not to respond anymore

Reported by: sascha_silbe Owned by: martin.langhoff
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords: olpc-test-pending
Cc: humitos, godiard Distribution/OS:
Bug Status: Unconfirmed


After a xapian.DatabaseError due to disk-full, sugar-datastore stopped responding via dbus:

1284305013.883047 DEBUG root: IndexStore.flush: force=True _pending_writes=4
Traceback (most recent call last):
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/carquinyol/", line 435, in _flush_timeout_cb
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/carquinyol/", line 451, in _flush
xapian.DatabaseError: Modifications failed (DatabaseError: Error writing to file (No space left on device)), and cannot set consistent table revision numbers: Error writing to file
1284305370.829598 TRACE org.laptop.sugar.DataStore: _find(<ca
1284308842.678461 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/", line 386, in _datastore_saved_cb
    saved.send(None, object_id=(tree_id, child_id))
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/dispatch/", line 125, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/", line 265, in __model_updated_cb
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/", line 331, in refresh_filters
    for service_name in model.get_unique_values('activity'):
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/", line 466, in get_unique_values
    return _get_datastore().find_unique_values(dbus.Dictionary({}, signature='sv'), key)
  File "/usr/lib/pymodules/python2.6/dbus/", line 140, in __call__
  File "/usr/lib/pymodules/python2.6/dbus/", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.4 was not provided by any .service files

No index rebuild happened on restart (I sorted out the disk-full condition manually before restarting).

This is with the version support branch of sugar-datastore, but I don't expect the mainline one to behave differently.

Change History (6)

comment:1 Changed 12 years ago by humitos

  • Cc humitos godiard added

comment:2 Changed 12 years ago by martin.langhoff

  • Owner changed from alsroot to martin.langhoff
  • Status changed from new to assigned

Patchseries addressing this is in sugar-devel.

comment:3 Changed 12 years ago by erikos

  • Milestone changed from Unspecified by Release Team to 0.98
  • Resolution set to fixed
  • Status changed from assigned to closed

Pushed, please test in datastore 0.97.2.

comment:4 Changed 12 years ago by erikos

  • Keywords olpc-test-pending added

comment:5 Changed 11 years ago by dnarvaez

  • Component changed from sugar-datastore to Sugar

comment:6 Changed 11 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.