Opened 2 years ago

Closed 2 years ago

#22039 closed defect (fixed)

Some relays have empty advertised bandwidth fields

Reported by: cypherpunks Owned by: irl
Priority: Medium Milestone:
Component: Metrics/Relay Search Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Like the summary states some relays have empty advertised bandwidth fields. This is evident on the router details page and search page. Examples are https://atlas.torproject.org/#search/middleTest and https://atlas.torproject.org/#details/FBD93802B43B9683E2DAF891F863B3A60C46ED6F.

Child Tickets

Attachments (2)

0001-Support-bandwidth-values-that-are-zero.patch (2.5 KB) - added by cypherpunks 2 years ago.
0002-Refactor-the-human-readable-bandwidth-function.patch (1.1 KB) - added by cypherpunks 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by cypherpunks

comment:1 Changed 2 years ago by cypherpunks

Status: newneeds_review

Patch 0001 fixes the issue. While looking for the bug i stumbled upon the hrBandwidth function which turns bandwidth values into human readable strings. This function could use some refactoring which is patch 0002.

comment:2 Changed 2 years ago by irl

Resolution: fixed
Status: needs_reviewclosed

Merged. Thanks.

Note: See TracTickets for help on using tickets.