]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4508] addressed review
authorRazvan Becheriu <razvan@isc.org>
Fri, 29 May 2026 18:43:24 +0000 (21:43 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 29 May 2026 18:43:24 +0000 (21:43 +0300)
changelog_unreleased/4508-shared-flq-allocator-fix-retry-on-startup
src/lib/dhcpsrv/lease_mgr_factory.cc

index cbea437d3d93b44a2621366b99e0449138cdbaf5..76ff4a64743e1f188a08e691978f09d6f6a6e216 100644 (file)
@@ -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)
index eea39380fc908f53d09cedbfd64c93d20a734276..519cfef0f80d1a7324a17055f8a864da3698bf38 100644 (file)
@@ -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) {