[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #31644 [Core Tor/Tor]: NumPrimaryGuards is set to 6, but the log file keep reports that is missing descriptors for 1/3 of our primary entry guards



#31644: NumPrimaryGuards is set to 6, but the log file keep reports that is missing
descriptors for 1/3 of our primary entry guards
---------------------------+-----------------------------------------------
     Reporter:  s7r        |      Owner:  (none)
         Type:  defect     |     Status:  new
     Priority:  Medium     |  Milestone:
    Component:  Core       |    Version:  Tor: 0.4.1.2-alpha
  Tor/Tor                  |
     Severity:  Normal     |   Keywords:  tor-guard, tor-client, state-file
Actual Points:             |  Parent ID:  #31643
       Points:             |   Reviewer:
      Sponsor:             |
---------------------------+-----------------------------------------------
 A Tor instance running with `NumPrimaryGuards = 6` and `NumEntryGuards =
 2` will report:

 {{{
 Sep 05 03:22:50.000 [notice] Our directory information is no longer up-to-
 date enough to build circuits: We're missing descriptors for 1/3 of our
 primary entry guards (total microdescriptors: 6515/6541).
 Sep 05 03:22:50.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We're missing descriptors for 1/3 of
 our primary entry guards (total microdescriptors: 6515/6541).
 }}}

 We expect to run with 6 primary entry guards and use 2/6 of them all the
 time, so it should complain about missing descriptors for 1/6 or our
 primary entry guards. Or maybe this param is not processed correctly and
 updated in the state file.

 When `NumPrimaryGuards` changes its value, we should sample more guards as
 primary in the existent state file, or create one if it doesn't exist with
 the right number of primary guards.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31644>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs