#18910: distributing descriptors accross CollecTor instances -------------------------------+--------------------------------- Reporter: iwakeh | Owner: iwakeh Type: enhancement | Status: needs_review Priority: High | Milestone: CollecTor 1.1.0 Component: Metrics/CollecTor | Version: Severity: Normal | Resolution: Keywords: ctip | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: -------------------------------+---------------------------------
Comment (by karsten): Second bug report: I believe that we're disregarding `StandardOpenOption.CREATE_NEW` in `PersistenceUtils.storeToFileSystem()` since the switch to temporary files. We're checking that the temporary file does not exist, writing to it, and later renaming to the original file, thus replacing it. What we should really do, when storing a file with `StandardOpenOption.CREATE_NEW`, is check whether the file exists and return false. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18910#comment:80> 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