Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4204 closed Bug (fixed)

Availability is the same as the amount downloaded when there are no seeders

Reported by: cantabile Owned by: jordan
Priority: Normal Milestone:
Component: Transmission Version: 2.22+
Severity: Minor Keywords:


I'm downloading a torrent that (sometimes) has no seeders and I noticed that the "Information" tab said:

Have:          #### GiB of #### GiB (81.5%)
Availability:  81.5%

but the "Peers" tab listed one peer with 99% and transmission was still happily downloading.

This happens with the qt client, version 2.30b3. I haven't tested with the gtk client.

I added some code to qt/ to display t->sizeWhenDone(), t->leftUntilDone() and t->desiredAvailable() (from line 406). The first two returned the right values but Formatter::sizeToString returned "None" for the third one.

In the meantime a seeder has appeared and now desiredAvailable() returns the same value as leftUntilDone() (and, of course, Availability is 100%).

Could the new tr_peerMgrGetDesiredAvailable function have something to do with this issue?

Change History (5)

comment:1 Changed 10 years ago by x190

comment:2 follow-up: Changed 10 years ago by livings124

  • Component changed from Qt Client to Transmission
  • Milestone changed from None Set to 2.30

Is this fixed in r12379?

comment:4 Changed 10 years ago by livings124

  • Milestone 2.30 deleted
  • Resolution set to fixed
  • Status changed from new to closed

comment:5 in reply to: ↑ 2 Changed 10 years ago by cantabile

Replying to livings124:

Is this fixed in r12379?

Indeed it is.

Now, I have no way to verify the accuracy of that number, but at least it's plausible now. In this test, there was one peer with ~60% and another with ~50% and the availability was 74.5% (I had 11% of the torrent).

Note: See TracTickets for help on using tickets.