commit 52d817fa5b97afcfc17b101cefaa7154c99b3975 Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Oct 8 12:21:42 2014 +0200
Ignore turtles when warning about missing descriptors.
turtles doesn't participate in the consensus for a couple of days now, and it times out on our connections. There's no way how we can fetch all descriptors referenced from its vote, so there's a new warning every hour. Ignore. --- src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java b/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java index ffe3dbc..521f877 100644 --- a/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java +++ b/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java @@ -654,8 +654,12 @@ public class ArchiveWriter extends Thread { } else { sb.append(", 0/0 E"); } - if (voteFoundServerDescs * 1000 < voteAllServerDescs * 995 || - voteFoundExtraInfos * 1000 < voteAllExtraInfos * 995) { + String fingerprint = v.getKey(); + /* Ignore turtles when warning about missing descriptors. */ + if (!fingerprint.equalsIgnoreCase( + "27B6B5996C426270A5C95488AA5BCEB6BCC86956") && + (voteFoundServerDescs * 1000 < voteAllServerDescs * 995 || + voteFoundExtraInfos * 1000 < voteAllExtraInfos * 995)) { missingDescriptors = true; } }
tor-commits@lists.torproject.org