#5707 NORM Never A: Previews are not deleted when their matching datastore objects are removed

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 26 12:48:49 EST 2007


#5707: Previews are not deleted when their matching datastore objects are removed
-----------------------+----------------------------------------------------
 Reporter:  Phil       |       Owner:  tomeu         
     Type:  defect     |      Status:  new           
 Priority:  normal     |   Milestone:  Never Assigned
Component:  datastore  |     Version:  Build 650     
 Keywords:             |    Verified:  0             
 Blocking:             |   Blockedby:                
-----------------------+----------------------------------------------------
 Doing an ls -laR in ~/.sugar on my XO-1 while helping someone troubleshoot
 some issues showed me that, while the datastore no longer held entries
 that I had removed, the previews in
 [b]/home/olpc/.sugar/default/datastore/store/preview[/b] are not being
 removed.  I have 354 files in there but only 49 actual entries in my
 datastore; as a compulsive Journal cleaner, I am unsurprised that there
 have been a total of 354 datastore entries.

 This, of course, wastes space unnecessarily on the flash drive, not to
 mention whatever other problems will accrue when the directory has tens of
 thousands of files.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5707>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list