mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Log which votes we still need to fetch
This might help us see which authorities are problematic in getting their vote published the first time.
This commit is contained in:
parent
50a50392b7
commit
6b9298ef72
3
changes/dirauth_log
Normal file
3
changes/dirauth_log
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features:
|
||||
- Log which authority we're missing votes from when we go to fetch them
|
||||
from the other auths.
|
@ -2801,8 +2801,13 @@ dirvote_fetch_missing_votes(void)
|
||||
smartlist_free(missing_fps);
|
||||
return;
|
||||
}
|
||||
log_notice(LOG_NOTICE, "We're missing votes from %d authorities. Asking "
|
||||
"every other authority for a copy.", smartlist_len(missing_fps));
|
||||
{
|
||||
char *tmp = smartlist_join_strings(missing_fps, " ", 0, NULL);
|
||||
log_notice(LOG_NOTICE, "We're missing votes from %d authorities (%s). "
|
||||
"Asking every other authority for a copy.",
|
||||
smartlist_len(missing_fps), tmp);
|
||||
tor_free(tmp);
|
||||
}
|
||||
resource = smartlist_join_strings(missing_fps, "+", 0, NULL);
|
||||
directory_get_from_all_authorities(DIR_PURPOSE_FETCH_STATUS_VOTE,
|
||||
0, resource);
|
||||
|
Loading…
Reference in New Issue
Block a user