r15939@catbus: nickm | 2007-10-18 22:14:15 -0400

Remember the valid-until time of the most recent consensus that listed
 a router, and (if we are a cache) never delete the routerdesc until
 that conensus is expired.  This is way easier than retaining multiple
 consensuses.  (Of course, the info isn't retained across restarts,
 but that only affects a few caches at a time.) 
 


svn:r12041
This commit is contained in:
Nick Mathewson
2007-10-19 02:15:47 +00:00
parent 90de3ca9ae
commit 29dfdac923
5 changed files with 53 additions and 5 deletions
+3
View File
@@ -21,6 +21,9 @@ Changes in version 0.2.0.9-alpha - 2007-10-??
- If we find a cached-routers file that's been sitting around for more
than 28 days unmodified, then most likely it's a leftover from when we
upgraded to 0.2.0.8-alpha. Remove it. It has no good routers anyway.
- When we (as a cache) download a descriptor because it was listed in a
consensus, remember when the consensus was supposed to expire, and
don't expire the descriptor until then.
o Minor features (performance):
- Call routerlist_remove_old_routers() much less often. This should