Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #7474

Closed (moved)
Open
Opened Nov 14, 2012 by Karsten Loesing@karsten

Directory authorities don't store 15% or more of uploaded extra-info descriptors

Could it be that the directory authorities reject a number of extra-info descriptors for some yet unknown reason? Is there anything in the logs?

metrics-db started warning about missing descriptors yesterday:

[java] 2012-11-13 21:05:44 We are missing at least 0.5% of
  server or extra-info descriptors referenced from a consensus
  or vote.

Here are the most recent fractions of descriptors that metrics-db got:

Consensus/Vote, valid-after, votes, server descriptors, extra-infos:
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5972/5972 (100.0%), 5077/5972 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5976/5976 (100.0%), 5081/5976 (85.0%)
V, 2012-11-14 14:00:00, NA, 5956/5956 (100.0%), 5061/5956 (85.0%)
C, 2012-11-14 14:00:00, 9/9 (100.0%), 3173/3173 (100.0%), 3099/3173 (97.7%)

So, while metrics-db manages to find 100.0% of server descriptors, it's down to 85.0% of referenced extra-info descriptors.

Here's a quick look at gabelmoo's cached descriptor files that metrics-db rsyncs and uses as one relay descriptor source:

$ grep -h "^opt extra-info-digest " cached-descriptors* | \
  cut -d" " -f3- | sort | uniq | wc -l
19043
$ grep "^extra-info " cached-extrainfo* | cut -d" " -f3 | \
  sort | uniq | wc -l
6713

I don't know what typical values are, but having only 6713 of 19043 referenced extra-info descriptors seems low.

This could be a problem in metrics-db. But it could also be a problem with the directory authorities.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#7474