#4356 NORM First D: need a fast way to extract all existing ids in the datastore
Zarro Boogs per Child
bugtracker at laptop.org
Sun Oct 21 05:33:56 EDT 2007
#4356: need a fast way to extract all existing ids in the datastore
-------------------------+--------------------------------------------------
Reporter: tomeu | Owner: bcsaller
Type: enhancement | Status: new
Priority: normal | Milestone: First Deployment, V1.0
Component: datastore | Version:
Keywords: | Verified: 0
-------------------------+--------------------------------------------------
For restoring a laptop to the state where it was at the last backup, we
need to send to the school server a file with all the ids that are
currently present in the DS.
This cannot be done using the usual ways (find()), as we are still very
far from being able to retrieve one thousand elements from xapian in a
reasonable amount of time.
If nothing inside xapian can be done for performing this operation in a
maximum of 1s., we'll need to do it from outside.
The possibility we are thinking of right now is maintaining a external
file with the ids, logging every insert and every delete.
Ben, can you suggest a better solution? Would you be able to implement
this during the following week (21-27/10) or should I give it a try?
--
Ticket URL: <https://dev.laptop.org/ticket/4356>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list