In a TestingTorNetwork, when TestingAuthDirTimeToLearnReachability is much lower than its normal value of 30 minutes, bootstrap will happen much more reliably if we test reachability at a proportionally faster rate.
I'd like to multiply the number of routers tested every 10 seconds, by the proportion that TestingAuthDirTimeToLearnReachability is smaller than the expected 1280 second cycle length.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
These changes are not required for the fast bootstrap case (10s) in #13718 (moved). They might be required for the comprehensive bootstrap case (30s) when we're not using TestingDirAuthVoteGuard * TestingDirAuthVoteExit *. (Although I really need to look into the guard case more.)
This needs some tests (check it covers all cases), and therefore probably needs some refactoring to be more testable.
We will now track this as part of #14034 (moved)Make TestingDirAuthVoteGuard, TestingDirAuthVoteExit and AssumeReachable less essential in test networks.
I want to split this from #13928 (moved), as #13928 (moved) is a solution to a problem I don't think exists (authority reachability testing being predictable). And making it random could cause other hard-to-diagnose bugs.
But it would be useful to increase the rate at which we check reachability in test networks. I just don't think it's urgent - no-one seems to need it at the moment.
This doesn't seem to be impacting test network bootstrap times at the moment, but that might be because we avoid using the reachability code and just assume everything is reachable.
I'm going to bump this to 0.2.9.
If anyone thinks we are having issues with the authority reachability code, or thinks we need to test it in chutney sooner, feel free to put it back in 0.2.8.
Remove the SponsorS status from these items, which we already decided to defer from 0.2.9. add the SponsorS-deferred tag instead in case we ever want to remember which ones these were.