Werk #13515: Fix possible LockNotOwnedError if data is queried from redis

Component User interface
Title Fix possible LockNotOwnedError if data is queried from redis
Date Jan 12, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If a query to redis took to long, the following error could occur in ~/var/log/web.log:

"redis.exceptions.LockNotOwnedError: Cannot release a lock that's no longer owned".

This could have happened if you e.g. filtered for host labels in a view.

To the list of all Werks