Opened 8 years ago

Closed 5 years ago

#2785 closed enhancement (implemented)

Start archiving microdescriptors and microdescriptor consensuses

Reported by: karsten Owned by: karsten
Priority: Low Milestone:
Component: Metrics/CollecTor Version:
Severity: Keywords:
Cc: arma, nickm, Sebastian, rransom Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We should start archiving microdescriptors and microdescriptor consensuses, even though clients don't use them yet. We need to extend metrics-db for this, including downloading the latest microdescriptor consensus and the referenced microdescriptors every hour. We might also download all microdescriptors known to all authorities once a day, similar to what we plan to do in #2763.

Child Tickets

Change History (7)

comment:1 in reply to:  description ; Changed 8 years ago by rransom

Replying to karsten:

We might also download all microdescriptors known to all authorities once a day, similar to what we plan to do in #2763.

Currently, all authorities that generate microdescriptors keep every microdescriptor they have ever generated. We have a ticket for that bug, and nickm has code to fix it, but he can't merge it to master until 0.2.3.1-alpha is released.

comment:2 in reply to:  1 Changed 8 years ago by karsten

Status: newassigned

Replying to rransom:

Replying to karsten:

We might also download all microdescriptors known to all authorities once a day, similar to what we plan to do in #2763.

Currently, all authorities that generate microdescriptors keep every microdescriptor they have ever generated. We have a ticket for that bug, and nickm has code to fix it, but he can't merge it to master until 0.2.3.1-alpha is released.

Okay. It looks like downloading all descriptors doesn't do what we expected anyway. But that's something to solve in #2763.

Are there any reasons not to start collecting microdescriptor consensuses and referenced microdescriptors? If not, I might start hacking on this next week.

comment:3 Changed 7 years ago by karsten

Cc: arma nickm Sebastian rransom added
Status: assignedneeds_information

After looking at the microdesc proposals for #3038, I don't see why we should archive microdescriptors or microdesc consensuses. They don't contain any information about the Tor network that isn't already contained in server descriptors and normal consensuses. The only use I can see is to check that generation of microdescriptors and microdesc consensuses is working properly, but that's hardly enough to archive all of them, is it?

Thoughts?

comment:4 Changed 7 years ago by Sebastian

I agree, we know the versions of dirauths for any consensus they made and we have their votes, so we can reconstruct the microdescs if we need to.

comment:5 Changed 7 years ago by karsten

Resolution: wontfix
Status: needs_informationclosed

Makes sense. Closing.

comment:6 Changed 6 years ago by karsten

Resolution: wontfix
Status: closedreopened

In #7009, Nick says he would have found it convenient to have archived microdescriptors and microdescriptor consensuses. Re-opening.

comment:7 Changed 5 years ago by karsten

Resolution: implemented
Status: reopenedclosed

This is now implemented and deployed. Closing.

Note: See TracTickets for help on using tickets.