[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #19036 [Core Tor/Tor]: Write v3-status-votes file even when we fail to make a consensus
#19036: Write v3-status-votes file even when we fail to make a consensus
------------------------------+--------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: 029-proposed
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------
In dirvote_compute_consensuses(), we have checks for {{{if (n_votes <=
n_voters/2)}}} and {{{if (!n_vote_running)}}}, which cause us to fail and
abort, before we get around to the
{{{
votefile = get_datadir_fname("v3-status-votes");
write_chunks_to_file(votefile, votestrings, 0, 0);
}}}
lines.
We should write the votes out to the file earlier in this process, so
operators can read them to see available votes even in the failure case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19036>
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