Ticket #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: | 0.98 |
| Component: | sugar-datastore | Version: | Git as of bugdate |
| Severity: | Major | Keywords: | olpc-test-pending |
| Cc: | humitos, godiard | Distribution/OS: | |
| Bug Status: | Unconfirmed |
Description
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/indexstore.py", line 435, in _flush_timeout_cb
self._flush(True)
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/carquinyol/indexstore.py", line 451, in _flush
self._database.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/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/model.py", 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/dispatcher.py", 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/journalactivity.py", line 265, in __model_updated_cb
self._main_toolbox.search_toolbar.refresh_filters()
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/jarabe/journal/journaltoolbox.py", 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/model.py", line 466, in get_unique_values
return _get_datastore().find_unique_values(dbus.Dictionary({}, signature='sv'), key)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", 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
Note: See
TracTickets for help on using
tickets.
