Skip to content
Snippets Groups Projects
Verified Commit 532865cb authored by Vladimír Čunát's avatar Vladimír Čunát Committed by Petr Špaček
Browse files

lib/cache: abort() if emergency cache-clear fails

As the code has been so far, there's no usable cache in that case
and some code just can't handle that.  Up to now we were getting
SIGSEGV from inside LMDB on the next attempted operation.

We might consider loosening preallocation in that case or even
retrying after a short sleep.  Systemd's restart after hold-off
timeout has an effect similar to the short sleep.
parent a98f8abd
Branches
Tags
1 merge request!1042cache-forking fixes
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