#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 _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs