[tor-bugs] #20228 [Metrics/CollecTor]: Append all votes with same valid-after time to a single file in `recent/`

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 25 15:54:53 UTC 2016


#20228: Append all votes with same valid-after time to a single file in `recent/`
-------------------------------+---------------------
 Reporter:  karsten            |          Owner:
     Type:  enhancement        |         Status:  new
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------

Comment (by karsten):

 Hmm, here's something we still need to decide: it may happen that we're
 learning about a vote out of band.  For example, we may only receive six
 votes for a given valid-after time and learn about a seventh vote in the
 next run when synchronizing from other CollecTor instances.  We could do
 two things in that situation: store votes under the time when we stored
 them (e.g., `2016-09-23-15-05-03-votes`) or append to an existing votes
 file and hence modifying its size and last-modified time (e.g.,
 `2016-09-23-15-00-00-votes`).  We're doing the second variant for server
 descriptors and other descriptors where we're appending descriptors.
 That's also my favorite solution, except there are benefits of the first
 variant (or a third variant) that I didn't see.  Hmm.

 Regarding the notice, how about we send something to tor-dev@ and give two
 weeks time (because everyone's busy with the meeting)?  Or would that
 delay other things too much?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20228#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list