[Bugs] #1546 UNSP: migrating large data store causes DBus timeout

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Dec 6 08:24:04 EST 2009


#1546: migrating large data store causes DBus timeout
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  benzea           
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar-artwork              |        Version:  Git as of bugdate
    Severity:  Major                      |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  New              
------------------------------------------+---------------------------------

Comment(by benzea):

 Replying to [comment:2 tomeu]:
 > Any suggestion about what we could do here?

 Uh, I don't know what this could have to do with sugar-artwork, or whether
 I am even able to suggest much :-)

 Oh well, lets do some guessing.
  1. The datastore should not completely block the mainloop during
 migration
  2. The migration (including progress) should be announced via dbus
  3. sugar-session should display a big message that the data is migrated,
 with progress information (keeps people happy if they need to wait long)
  4. Migration should likely start before the user can do any action (I am
 guessing that nothing can be stored during migration, so running
 activities would be bad. It would also add extra load and slow down the
 migration process.)

 I guess the datastore is launched by dbus (during activation). Maybe the
 shell could start it very early by checking if migration is happening (it
 will be launched, and can do the check right away). If it is, go into a
 nested mainloop, and block everything until migration has finished. During
 that time one can display a nice dialog informing the user.

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


More information about the Bugs mailing list