#2196 BLOC Untriag: datastore dies with large PDFs.
Zarro Boogs per Child
bugtracker at laptop.org
Sun Jul 15 15:48:52 EDT 2007
#2196: datastore dies with large PDFs.
------------------------+---------------------------------------------------
Reporter: cjb | Owner: bcsaller
Type: defect | Status: new
Priority: blocker | Milestone: Untriaged
Component: datastore | Version:
Resolution: | Keywords:
Verified: 0 |
------------------------+---------------------------------------------------
Comment (by tomeu):
The problem here is the way we are calculating a hash for the file
content:
http://dev.laptop.org/git.do?p=projects/datastore;a=blob;f=src/olpc/datastore/backingstore.py;h=354426e077143bd6b33f94519e954c0342fa5632;hb=HEAD#l288
This is too slow for being performed in the update() method, as it should
be almost instantaneous.
In this case the dbus call times out and the datastore service hogs the
cpu for some time.
--
Ticket URL: <http://dev.laptop.org/ticket/2196#comment:3>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list