[Bugs] #2132 URGE: Datastore index corruption

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 2 13:50:43 EDT 2010


#2132: Datastore index corruption
--------------------------------+-------------------------------------------
    Reporter:  bernie           |          Owner:  tomeu                      
        Type:  defect           |         Status:  new                        
    Priority:  Urgent           |      Milestone:  Unspecified by Release Team
   Component:  sugar-datastore  |        Version:  Git as of bugdate          
    Severity:  Blocker          |       Keywords:  dextrose                   
Distribution:  Unspecified      |   Status_field:  Unconfirmed                
--------------------------------+-------------------------------------------

Comment(by bernie):

 Replying to [comment:4 alsroot]:
 > It is by design (I attached patch to set index_updated on regular ds
 close) i.e. if you power-off your box w/o shuting it down, on the first
 boot, system will check fs since unmount wasn't done. If hard power-off
 (w/o choosing "Shutdown" in menu) is popular in the field, we can expose
 flush() dbus method, and sugar will catch power button pressing via ACPI
 and will call it before XO will be de-energized.

 Yes, many kids hold the power button for 4 seconds to shut down their
 machine. Your patch seems good.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2132#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list