#2731 closed defect (fixed)
Magic Folder: miscounting in magic_folder.uploader.objects_queued
Reported by: | daira | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-magic-folder | Version: | 1.10.2 |
Keywords: | magic-folder error statistics blocks-merge | Cc: | |
Launchpad Bug: |
Description
(follow-on from #2709)
Raw Stats: {'counters': {'magic_folder.uploader.directories_created': 1, 'magic_folder.uploader.dirs_monitored': 1, 'magic_folder.uploader.objects_not_uploaded': 3, 'magic_folder.uploader.objects_queued': -1, 'magic_folder.uploader.objects_succeeded': 4, 'mutable.bytes_published': 385, 'mutable.bytes_retrieved': 36194, 'mutable.files_published': 1, 'mutable.files_retrieved': 83, 'uploader.bytes_uploaded': 0, 'uploader.files_uploaded': 1}, [...]
'magic_folder.uploader.objects_queued': -1 indicates miscounting somewhere.
Change History (4)
comment:1 Changed at 2016-03-21T15:30:04Z by daira
- Keywords blocks-merge added
comment:2 Changed at 2016-03-22T13:01:21Z by dawuud
comment:3 Changed at 2016-03-29T14:24:21Z by daira
- Resolution set to fixed
- Status changed from new to closed
This is fixed on 2438.magic-folder-stable.13 (d5b494b618854eddda8f9452912a8693ae3adab9).
comment:4 Changed at 2016-07-21T21:32:36Z by Brian Warner <warner@…>
In e67d23b/trunk:
Note: See
TracTickets for help on using
tickets.
using only the unit tests i was able to find evidence that at least the Downloader is affected by this bug:
i theorize this happens because directories are added to the deque as a single item and the child are decremented individually cause the negative count.