-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: ObjectStore, Sync
-
4611
-
Not Needed
If I register a forCurrentlyOutstandingWork listener the output currently looks something like this:
1) Start with an empty database (uploaded = 0, uploadable = 0)
2) Write 80 bytes (0, 80)
3) Upload 80 bytes (80, 80)
4) Write 20 bytes (80, 100)
5) Register a forCurrentlyOutstandingWork Upload Listener.
6) This will now report (80, 100) immediately, which indicate it is 80% done already.
This doesn't seem consistent with the semantics the mode description. It would seem better to instead report (0, 20)
This seems trivially adjustable sine we just need to remember the initial values of uploadable/downloadable value and subtract them from downloaded/uploaded values.
Thoughts @austinzheng ?