Opened 10 years ago

Last modified 9 years ago

#2761 new enhancement

progress report on checkin()

Reported by: tomeu Owned by: tomeu
Priority: high Milestone: Future Release
Component: sugar-datastore Version:
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no


We need to get some kind of progress report about checkin operations.

We don't need a perfect solution neither an estimated completion time.

I propose adding a dbus signal 'CheckinProgressChanged' with uid and percent as parameters.

Change History (11)

comment:1 Changed 10 years ago by tomeu

Oh, we'll also need to pass the checkin() func the total size of the file, so the progress report can be calculated.

comment:2 Changed 10 years ago by marco

Tomeu, is this a blocker?

comment:3 Changed 10 years ago by tomeu

  • Milestone changed from Trial-3 to First Deployment, V1.0

Dan Williams has implemented this in the trial3 branch. We can leave this open but retarget for FRS.

comment:4 Changed 10 years ago by kimquirk

  • Priority changed from blocker to high

comment:5 Changed 10 years ago by marco

Tomeu what is left here?

comment:6 Changed 10 years ago by marco

  • Milestone changed from First Deployment, V1.0 to Untriaged

comment:7 Changed 9 years ago by tomeu

After looking at the code, the async copy is not yet reporting progress. I think this would be mainly useful for copies to flash drives, as in most other cases we are just moving the file to internal storage.

What is still left to do is to update the 'progress' metadata property and emit the Updated signal after every block is copied. In this way the Journal will show a progress bar as the file is copied to the usb stick.

So basically we need to know if progress report when copying entries to usb sticks is needed for FRS.

comment:8 Changed 9 years ago by marco

Implementation is not trivial and in an area where the code is not solid yet. Risk seem high. Should be prioritized on the base of the environment (are USB keys going to be very important in the field?) and on the criticality of the usability problem (design team).

My personal recommendation would be to punt this one.

comment:9 Changed 9 years ago by Eben

It's clear we can't do async copies without feedback. Of course, long blocks for copies, especially without progress, will make the machine feel frozen (well, it is frozen...) and that's not a very good situation either. Both scenarios lack any useful feedback.

As such, the only real solution seems to be proper async support with progress feedback, and I think the usability concerns are high without it. I can't speak to the importance of USB in the field, though, so I can't determine criticality.

comment:10 Changed 9 years ago by jg

  • Milestone changed from Untriaged to Update.2

comment:11 Changed 9 years ago by marco

  • Milestone changed from Update.2 to Future Release
Note: See TracTickets for help on using tickets.