Merge branch 'maint-0.3.2' into release-0.3.2

This commit is contained in:
Nick Mathewson 2018-01-31 09:50:24 -05:00
commit 3d7f134bea
2 changed files with 8 additions and 1 deletions

4
changes/bug24859 Normal file
View File

@ -0,0 +1,4 @@
o Minor bugfixes (logging):
- Don't treat inability to store a cached consensus object as a
bug: it can happen normally when we are out of disk space.
Fixes bug 24859; bugfix on 0.3.1.1-alpha.

View File

@ -1310,8 +1310,11 @@ store_multiple(consensus_cache_entry_handle_t **handles_out,
labels,
body_out,
bodylen_out);
if (BUG(ent == NULL))
if (ent == NULL) {
log_warn(LD_FS, "Unable to store object %s compressed with %s.",
description, methodname);
continue;
}
status = CDM_DIFF_PRESENT;
handles_out[i] = consensus_cache_entry_handle_new(ent);