Opened 13 years ago

Closed 13 years ago

#2268 closed Bug (worksforme)

Discrepancy between ratio and actual amount uploaded

Reported by: splondike Owned by: charles
Priority: Low Milestone: None Set
Component: libtransmission Version: 1.72
Severity: Minor Keywords: ratio uploaded downloaded
Cc:

Description

The attached screenshot describes the problem quite succinctly. The amounts displayed under uploads and downloads do not agree with the displayed upload ratio. For example, one torrent displays the string: "45.5MB, uploaded 35.9MB (Ratio: 1.01)", which is clearly incorrect.

I have manually checked that the bug manifests itself under both the GTK+ clients and through the CLI, but it should do so on the others as well.

The issue appears to be that the ratio is calculated by dividing the downloaded and uploaded values stored in the .resume file for the torrent (the archlinux example is attached). In the two cases i've experienced, I have completed uploading the torrent, but the .resume downloaded value is incorrect (it's too small - 237.8MB). The downloaded amount displayed is calculated from the file system, and is the correct value (310.9MB). I am not sure how the .resume value got out of sync with the real one.

Attachments (2)

transmission-screenshot.png (12.7 KB) - added by splondike 13 years ago.
A screenshot of the ratio discrepancy
archlinux-2009.02-core-i686.iso.5d49e09821539ce9.resume (2.9 KB) - added by splondike 13 years ago.
A .resume file showing incorrect information

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by splondike

A screenshot of the ratio discrepancy

Changed 13 years ago by splondike

A .resume file showing incorrect information

comment:1 Changed 13 years ago by splondike

  • Severity changed from Normal to Minor

comment:2 Changed 13 years ago by charles

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.