GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 39830b64 authored by Nick Mathewson's avatar Nick Mathewson 🐭

Downgrade "Bug: No entry found in extrainfo map" message.

This is not actually a bug!  It can happen for a bunch of reasons,
which all boil down to "trying to add an extrainfo for which we no
longer have the corresponding routerinfo".

Fixes #16016; bugfix on
parent 8697205b
o Minor bugfixes (logging):
- Downgrade a noisy log message that could occur naturally when
receiving an extrainfo document that we no longer want.
Fixes bug 16016; bugfix on
...@@ -1087,7 +1087,11 @@ extrainfo_insert,(routerlist_t *rl, extrainfo_t *ei, int warn_if_incompatible)) ...@@ -1087,7 +1087,11 @@ extrainfo_insert,(routerlist_t *rl, extrainfo_t *ei, int warn_if_incompatible))
* This just won't work. */; * This just won't work. */;
static ratelim_t no_sd_ratelim = RATELIM_INIT(1800); static ratelim_t no_sd_ratelim = RATELIM_INIT(1800);
log_fn_ratelim(&no_sd_ratelim, severity, LD_BUG, /* This is a DEBUG because it can happen naturally, if we tried
* to add an extrainfo for which we no longer have the
* corresponding routerinfo.
log_fn_ratelim(&no_sd_ratelim, LOG_DEBUG, LD_DIR,
"No entry found in extrainfo map."); "No entry found in extrainfo map.");
goto done; goto done;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment