From: Razvan Becheriu Date: Fri, 29 May 2026 18:43:24 +0000 (+0300) Subject: [#4508] addressed review X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=1bd71af44a6d1b80e1e9e45ff732f583b2949619;p=thirdparty%2Fkea.git [#4508] addressed review --- diff --git a/changelog_unreleased/4508-shared-flq-allocator-fix-retry-on-startup b/changelog_unreleased/4508-shared-flq-allocator-fix-retry-on-startup index cbea437d3d..76ff4a6474 100644 --- a/changelog_unreleased/4508-shared-flq-allocator-fix-retry-on-startup +++ b/changelog_unreleased/4508-shared-flq-allocator-fix-retry-on-startup @@ -2,7 +2,7 @@ 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) diff --git a/src/lib/dhcpsrv/lease_mgr_factory.cc b/src/lib/dhcpsrv/lease_mgr_factory.cc index eea39380fc..519cfef0f8 100644 --- a/src/lib/dhcpsrv/lease_mgr_factory.cc +++ b/src/lib/dhcpsrv/lease_mgr_factory.cc @@ -128,8 +128,8 @@ LeaseMgrFactory::recreate(const std::string& dbaccess, bool preserve_callbacks) // 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) {