Treat allocator initializition failures caused
by database connectivity issues as a recoverable
condition. Prior to this the server would exit
- with a fatal error even when configure to retry.
+ with a fatal error even when configured to retry.
Applies to both kea-dhcp4 and kea-dhcp6 when
using either the FLQ or SLFQ allocators.
(Gitlab #4508)
// Init lease allocators. We do this here for allocators which require
// the lease manager access (i.e. SFLQ and FLQ) for initialization.
- // When preserve_callbacks is true are using the a current configuration.
- // If it is false we are using staging. Pass the inverse to initAllocators().
+ // When preserve_callbacks is true the current configuration is used,
+ // if it is false the staging configuration is used.
LeaseMgrFactory::initAllocators(!preserve_callbacks);
if (callbacks) {