Timer not being rescheduled after restart of lease database backend
name: timer not being rescheduled after restart of lease database backend.
Describe the bug When leases are saved to a database backend, failure to connect to the database is handled incorrectly. After restarting the lease database backend expired leases will never be removed from the lease database.
- Kea version: 1.6.2
- OS: linux
Additional Information I confirm reading the code that if a database query throws (for instance because the connection with the server is dead) the timer is not rescheduled because there is no try-catch block to handle this case.