Opened 7 years ago

Closed 7 years ago

#5813 closed enhancement (fixed)

Sanity-check descriptors using metrics-lib before writing them to disk

Reported by: karsten Owned by: karsten
Priority: Medium Milestone:
Component: Metrics/CollecTor Version:
Severity: Keywords:
Cc: Actual Points: 1
Parent ID: Points: 2
Reviewer: Sponsor:

Description

In #5805 we found that we have quite a few files that are either empty or truncated. We should parse all descriptors with metrics-lib and only store valid descriptors to disk.

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by karsten

Actual Points: 1
Resolution: fixed
Status: newclosed

Implemented for relay descriptors in 1ea308d. I first thought we could also implement this for sanitized bridge descriptors, but that doesn't make much sense because we're assembling them ourselves, as opposed to relay descriptors that we copy 1:1.

Note: See TracTickets for help on using tickets.