]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
11 hours ago[#4478] fixed more typos master
Wlodek Wencel [Tue, 28 Apr 2026 10:01:30 +0000 (12:01 +0200)] 
[#4478] fixed more typos

13 hours ago[#4478] added missing issue number
Wlodzimierz Wencel [Tue, 28 Apr 2026 07:58:11 +0000 (07:58 +0000)] 
[#4478] added missing issue number

11 hours ago[#4478] fixed typo
Wlodek Wencel [Tue, 28 Apr 2026 09:28:35 +0000 (11:28 +0200)] 
[#4478] fixed typo

11 hours ago[#4478] release changes
Wlodek Wencel [Tue, 28 Apr 2026 09:18:50 +0000 (11:18 +0200)] 
[#4478] release changes

26 hours ago[#4472] bump up library versions for 3.1.8 release
Razvan Becheriu [Mon, 27 Apr 2026 18:59:56 +0000 (21:59 +0300)] 
[#4472] bump up library versions for 3.1.8 release

30 hours ago[#3636] Add ReplicatingFuzzingIssues subsection to fuzz.dox
Andrei Pavel [Wed, 15 Apr 2026 14:00:13 +0000 (17:00 +0300)] 
[#3636] Add ReplicatingFuzzingIssues subsection to fuzz.dox

31 hours ago[#4160] Fix rpath for kea-msg-compiler
Andrei Pavel [Wed, 15 Apr 2026 15:25:25 +0000 (18:25 +0300)] 
[#4160] Fix rpath for kea-msg-compiler

32 hours ago[#4344] Added a changelog entry
Francis Dupont [Mon, 27 Apr 2026 07:39:50 +0000 (09:39 +0200)] 
[#4344] Added a changelog entry

32 hours ago[#4344] Close connection once
Francis Dupont [Sun, 22 Feb 2026 10:36:53 +0000 (11:36 +0100)] 
[#4344] Close connection once

32 hours ago[#4344] Unregister once
Francis Dupont [Sun, 22 Feb 2026 09:45:28 +0000 (10:45 +0100)] 
[#4344] Unregister once

32 hours ago[#4314] Fixed indentation
Francis Dupont [Mon, 27 Apr 2026 12:44:26 +0000 (14:44 +0200)] 
[#4314] Fixed indentation

32 hours ago[#4314] Fixed json
Francis Dupont [Wed, 25 Feb 2026 10:35:36 +0000 (11:35 +0100)] 
[#4314] Fixed json

32 hours ago[#4314] Updated doc
Francis Dupont [Tue, 24 Feb 2026 16:25:30 +0000 (17:25 +0100)] 
[#4314] Updated doc

32 hours ago[#4367] handle all exceptions
Razvan Becheriu [Thu, 9 Apr 2026 20:57:58 +0000 (23:57 +0300)] 
[#4367] handle all exceptions

32 hours ago[#3985] Fix version in conf.py for EPUB generation in RTD
Andrei Pavel [Mon, 27 Apr 2026 12:16:56 +0000 (15:16 +0300)] 
[#3985] Fix version in conf.py for EPUB generation in RTD

33 hours ago[#3144] fixed unit tests related to #3062
Razvan Becheriu [Thu, 2 Apr 2026 09:57:58 +0000 (12:57 +0300)] 
[#3144] fixed unit tests related to #3062

33 hours ago[#3144] detect before inactivating
Razvan Becheriu [Wed, 1 Apr 2026 22:19:55 +0000 (01:19 +0300)] 
[#3144] detect before inactivating

34 hours ago[#4154] Spelling
Francis Dupont [Mon, 27 Apr 2026 10:47:22 +0000 (12:47 +0200)] 
[#4154] Spelling

34 hours ago[#4154] Applied RFC 4578 Errata
Francis Dupont [Wed, 4 Mar 2026 08:32:10 +0000 (09:32 +0100)] 
[#4154] Applied RFC 4578 Errata

36 hours ago[#3970] Added reject of all HTTP or TLS keywords
Francis Dupont [Fri, 27 Feb 2026 14:45:58 +0000 (15:45 +0100)] 
[#3970] Added reject of all HTTP or TLS keywords

36 hours ago[#3985] Fix `-git` not appearing in ARM for non-released versions
Andrei Pavel [Wed, 15 Apr 2026 15:20:18 +0000 (18:20 +0300)] 
[#3985] Fix `-git` not appearing in ARM for non-released versions

5 days ago[#4475] Define constexprs in sflq_allocator.cc
Thomas Markwalder [Thu, 23 Apr 2026 13:48:56 +0000 (09:48 -0400)] 
[#4475] Define constexprs in sflq_allocator.cc

  modified: src/lib/dhcpsrv/sflq_allocator.cc

5 days ago[#4473] fix Changelog etries
Wlodek Wencel [Thu, 23 Apr 2026 11:34:37 +0000 (13:34 +0200)] 
[#4473] fix Changelog etries

5 days ago[#4376] Change DDNS Lease Length to TTL in log
Marcin Godzina [Thu, 23 Apr 2026 10:51:54 +0000 (12:51 +0200)] 
[#4376] Change DDNS Lease Length to TTL in log

8 days ago[#3448] fixed netconf
Razvan Becheriu [Mon, 20 Apr 2026 17:50:57 +0000 (20:50 +0300)] 
[#3448] fixed netconf

8 days ago[#4447] Fixed missed typos
Thomas Markwalder [Mon, 20 Apr 2026 15:16:29 +0000 (11:16 -0400)] 
[#4447] Fixed missed typos

modified:   src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc

8 days ago[#4447] Addresses review comments
Thomas Markwalder [Mon, 20 Apr 2026 15:00:31 +0000 (11:00 -0400)] 
[#4447] Addresses review comments

modified:   changelog_unreleased/4447-shared-flq-allocator-reconcile-sflq-pool-create-and-pick-free-lease-inconsistency
modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified:   src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
modified:   src/lib/dhcpsrv/sflq_allocator.cc

8 days ago[#4447] Removed left joins from pick functions
Thomas Markwalder [Sat, 18 Apr 2026 17:01:52 +0000 (13:01 -0400)] 
[#4447] Removed left joins from pick functions

Left joins are perf killers. Relying on free
leseseX consistency instead.

a/src/bin/admin/tests/mysql_tests.sh.in
    mysql_sflqPickFreeLease6()
    mysql_sflqPickFreeLease6()
    - updated tests

/src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_sflqPickFreeLease6()
    pgsql_sflqPickFreeLease6()
    - updated tests

/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc
    GenericLeaseMgrTest::testSflqLeaseOps4()
    GenericLeaseMgrTest::testSflqLeaseOps6()
    - updated tests

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    - remove left join from SFLQ pick functions

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    - remove left join from SFLQ pick functions

8 days ago[#4447] Remove checks after rebase
Thomas Markwalder [Fri, 17 Apr 2026 17:31:11 +0000 (13:31 -0400)] 
[#4447] Remove checks after rebase

modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

8 days ago[#4447] Fix update stored procedures
Thomas Markwalder [Mon, 13 Apr 2026 17:23:00 +0000 (13:23 -0400)] 
[#4447] Fix update stored procedures

Fix merge mistake which left expiration check in update
stored procedures.

modified:   src/bin/admin/tests/mysql_tests.sh.in
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

8 days ago[#4447] Do not include expired in SFLQ
Thomas Markwalder [Tue, 7 Apr 2026 19:39:39 +0000 (15:39 -0400)] 
[#4447] Do not include expired in SFLQ

/src/bin/admin/tests/mysql_tests.sh.in
    Updated tests:
    mysql_sflqCreateFlqPool4()
    mysql_sflqCreateFlqPool6()
    mysql_sflqInsertLease4()
    mysql_sflqUpdateLease4()
    mysql_sflqInsertLease6()
    mysql_sflqUpdateLease6()

/src/bin/admin/tests/pgsql_tests.sh.in
    Updated tests:
    pgsql_sflqCreateFlqPool4()
    pgsql_sflqCreateFlqPool6()
    pgsql_sflqInsertLease4()
    pgsql_sflqUpdateLease4()
    pgsql_sflqInsertLease6()
    pgsql_sflqUpdateLease6()

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    Updated functions:
    sflqCreateFlqPool4()
    sflqCreateFlqPool6()
    sflqInsertLease4()
    sflqUpdateLease4()
    sflqInsertLease6()
    sflqUpdateLease6()

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    Updated functions:
    sflqCreateFlqPool4()
    sflqCreateFlqPool4()
    sflqCreateFlqPool6()
    sflqInsertLease4()
    sflqUpdateLease4()
    sflqInsertLease6()
    sflqUpdateLease6()

8 days ago[#4454] addressed review comments
Razvan Becheriu [Mon, 20 Apr 2026 14:39:07 +0000 (17:39 +0300)] 
[#4454] addressed review comments

8 days ago[#4454] remove solaris iface_mgr
Razvan Becheriu [Wed, 10 Dec 2025 20:17:37 +0000 (22:17 +0200)] 
[#4454] remove solaris iface_mgr

8 days ago[#3448] addressed review
Razvan Becheriu [Wed, 15 Apr 2026 18:37:05 +0000 (21:37 +0300)] 
[#3448] addressed review

8 days ago[#3448] Fixed json
Francis Dupont [Tue, 31 Mar 2026 13:09:15 +0000 (15:09 +0200)] 
[#3448] Fixed json

8 days ago[#3448] Removed extra CA refs in examples
Francis Dupont [Tue, 31 Mar 2026 12:53:11 +0000 (14:53 +0200)] 
[#3448] Removed extra CA refs in examples

8 days ago[#3448] Moved rbac example
Francis Dupont [Tue, 31 Mar 2026 12:39:18 +0000 (14:39 +0200)] 
[#3448] Moved rbac example

8 days ago[#3448] Fixed rebase
Francis Dupont [Thu, 26 Mar 2026 09:41:02 +0000 (10:41 +0100)] 
[#3448] Fixed rebase

8 days ago[#3448] Revert HTTP control socket in DHCPv4
Francis Dupont [Thu, 26 Mar 2026 09:03:46 +0000 (10:03 +0100)] 
[#3448] Revert HTTP control socket in DHCPv4

8 days ago[#3448] Checkpoint
Francis Dupont [Mon, 16 Mar 2026 15:33:45 +0000 (16:33 +0100)] 
[#3448] Checkpoint

8 days ago[#3448] Fixed again keactrl tests
Francis Dupont [Tue, 17 Mar 2026 14:39:55 +0000 (15:39 +0100)] 
[#3448] Fixed again keactrl tests

8 days ago[#3448] Fixed doc
Francis Dupont [Tue, 17 Mar 2026 12:25:20 +0000 (13:25 +0100)] 
[#3448] Fixed doc

8 days ago[#3448] Many fixes
Francis Dupont [Tue, 17 Mar 2026 10:59:42 +0000 (11:59 +0100)] 
[#3448] Many fixes

8 days ago[#3448] Fixed yang control socket
Francis Dupont [Tue, 17 Mar 2026 08:43:34 +0000 (09:43 +0100)] 
[#3448] Fixed yang control socket

8 days ago[#3448] Tentative hammer
Francis Dupont [Tue, 17 Mar 2026 08:36:15 +0000 (09:36 +0100)] 
[#3448] Tentative hammer

8 days ago[#3448] Fixed keactrl tests
Francis Dupont [Tue, 17 Mar 2026 08:09:07 +0000 (09:09 +0100)] 
[#3448] Fixed keactrl tests

8 days ago[#3448] Fixed doc build
Francis Dupont [Mon, 16 Mar 2026 17:40:02 +0000 (18:40 +0100)] 
[#3448] Fixed doc build

8 days ago[#3448] Fixed shellcheck
Francis Dupont [Mon, 16 Mar 2026 17:33:33 +0000 (18:33 +0100)] 
[#3448] Fixed shellcheck

8 days ago[#3448] Checkpoint
Francis Dupont [Mon, 16 Mar 2026 17:06:05 +0000 (18:06 +0100)] 
[#3448] Checkpoint

8 days ago[#3448] Checkpoint
Francis Dupont [Mon, 16 Mar 2026 15:33:45 +0000 (16:33 +0100)] 
[#3448] Checkpoint

11 days ago[#4441] Add missing order by
Thomas Markwalder [Fri, 17 Apr 2026 17:09:27 +0000 (13:09 -0400)] 
[#4441] Add missing order by

modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

11 days ago[#4441] Fixed asan leak
Thomas Markwalder [Fri, 17 Apr 2026 15:17:42 +0000 (11:17 -0400)] 
[#4441] Fixed asan leak

modified:   src/lib/dhcpsrv/sflq_allocator.cc

11 days ago[#4441] Add tranactions to PostgreSQL lease ops
Thomas Markwalder [Fri, 17 Apr 2026 14:03:02 +0000 (10:03 -0400)] 
[#4441] Add tranactions to PostgreSQL lease ops

/src/hooks/dhcp/mysql/mysql_lease_mgr.cc
/src/lib/pgsql/pgsql_connection.h
    PgSqlLeaseMgr::addLeaseCommon()
    PgSqlLeaseMgr::updateLeaseCommon()
    PgSqlLeaseMgr::deleteLeaseCommon()
    - added scoped transactions

11 days ago[#4441] Add tranactions to MySQL lease ops
Thomas Markwalder [Fri, 17 Apr 2026 13:26:23 +0000 (09:26 -0400)] 
[#4441] Add tranactions to MySQL lease ops

/src/hooks/dhcp/mysql/mysql_lease_mgr.cc
/src/lib/mysql/mysql_connection.h
    MySqlLeaseMgr::addLeaseCommon()
    MySqlLeaseMgr::updateLeaseCommon()
    MySqlLeaseMgr::deleteLeaseCommon()
    - added scoped transactions

/src/lib/dhcpsrv/sflq_allocator.cc
    SharedFlqAllocator::sanityChecksSflqAllocator6()
    handle alloctor types correctly

    various nits from review comments

11 days ago[#4441] Replace row count mechanism in PostgreSQL
Thomas Markwalder [Thu, 16 Apr 2026 19:23:48 +0000 (15:23 -0400)] 
[#4441] Replace row count mechanism in PostgreSQL

    Aligns postresql implementation with mysql implementation.
    Lease op functions now return the leaseX table affected row count.

/src/bin/admin/tests/pgsql_tests.sh.in
    Updated tests

/src/hooks/dhcp/pgsql/pgsql_lease_mgr.*
    PgSqlLeaseMgr::getRowCount() - new conveniece function
    Updated lease op functions and common functions

/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    added row test to insert funcs

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    Updated lease op functions
    deleted FUNCTION sflqFakeRowCount()

11 days ago[#4441] A few more comments
Thomas Markwalder [Thu, 16 Apr 2026 16:02:15 +0000 (12:02 -0400)] 
[#4441]  A few more comments

    Fixed typos

modified:   src/bin/admin/tests/mysql_tests.sh.in
modified:   src/bin/admin/tests/pgsql_tests.sh.in
modified:   src/lib/dhcpsrv/lease_mgr.h
modified:   src/lib/dhcpsrv/sflq_allocator.h

11 days ago[#4441] Consume results of insert
Thomas Markwalder [Thu, 16 Apr 2026 15:32:36 +0000 (11:32 -0400)] 
[#4441] Consume results of insert

modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.h

11 days ago[#4441] Fix row count issue in Mariadb
Thomas Markwalder [Thu, 16 Apr 2026 13:47:52 +0000 (09:47 -0400)] 
[#4441] Fix row count issue in Mariadb

Mariadb affected row counts from stored procedures are
unreliable. Converted lease op procedures to functions
that return the leaseX table affected row count.

/src/bin/admin/tests/mysql_tests.sh.in
    Change lease op calls to selects, check rows returned

/src/hooks/dhcp/mysql/mysql_lease_mgr.*
    Change lease op SFLQ SQL statement calls to selects
    For update and delete, check row count returned instead of
    affect rows from statement context

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    Convert SFLQ lease op PROCEDURES to FUNCTIONS that
    return leaseX table rows affected count
    Deleted  PROCEDURE sflqFakeRowCount

11 days ago[#4441] A few more comments
Thomas Markwalder [Wed, 15 Apr 2026 12:55:39 +0000 (08:55 -0400)] 
[#4441] A few more comments

Restored capacity limit to 16M

11 days ago[#4441] More review comments
Thomas Markwalder [Wed, 15 Apr 2026 12:08:56 +0000 (08:08 -0400)] 
[#4441] More review comments

/src/hooks/dhcp/mysql/mysql_lease_mgr.cc
/src/hooks/dhcp/mysql/pgsql_lease_mgr.cc
    Use new constants for capacity check

/src/lib/dhcpsrv/sflq_allocator.*
    SharedFlqAllocator::sanityChecksSflqAllocator4(Subnet4Ptr subnet)
    SharedFlqAllocator::sanityChecksSflqAllocator6(Subnet6Ptr subnet)
    - new functions

/src/lib/dhcpsrv/srv_config.cc
    use SharedFlqAllocator::sanityChecksSflqAllocator*

11 days ago[#4441] Added sanity check
Thomas Markwalder [Tue, 14 Apr 2026 20:17:23 +0000 (16:17 -0400)] 
[#4441] Added sanity check

/src/bin/dhcp4/json_config_parser.cc
/src/bin/dhcp6/json_config_parser.cc
    Add call to cfg->sanityChecksSflqAllocator();

/src/lib/dhcpsrv/cb_ctl_dhcp4.cc
/src/lib/dhcpsrv/cb_ctl_dhcp6.cc
    Add call to external_cfg->sanityChecksSflqAllocator();

/src/lib/dhcpsrv/srv_config.*
    SrvConfig::sanityChecksSflqAllocator() - new function

11 days ago[#4441] Addressed initial review comments
Thomas Markwalder [Tue, 14 Apr 2026 17:45:55 +0000 (13:45 -0400)] 
[#4441] Addressed initial review comments

modified:   src/bin/admin/tests/mysql_tests.sh.in
modified:   src/bin/admin/tests/pgsql_tests.sh.in
modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified:   src/hooks/dhcp/mysql/tests/mysql_lease_mgr_unittest.cc
modified:   src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
modified:   src/hooks/dhcp/pgsql/tests/pgsql_lease_mgr_unittest.cc
modified:   src/lib/dhcpsrv/parsers/shared_network_parser.cc
modified:   src/lib/dhcpsrv/sflq_allocator.cc
modified:   src/lib/dhcpsrv/subnet.cc
modified:   src/lib/dhcpsrv/tests/sflq_allocator_unittest.cc
modified:   src/lib/dhcpsrv/tests/shared_network_unittest.cc
modified:   src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc
modified:   src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.h
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

11 days ago[#4441] Fix mysql loop limit error
Thomas Markwalder [Tue, 14 Apr 2026 11:27:32 +0000 (07:27 -0400)] 
[#4441] Fix mysql loop limit error

Also whitespace clean up

modified:   src/bin/admin/tests/mysql_tests.sh.in
modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified:   src/hooks/dhcp/mysql/tests/mysql_lease_mgr_unittest.cc
modified:   src/lib/dhcpsrv/sflq_allocation_state.h
modified:   src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in

11 days ago[#4441] Clean up and new UTs
Thomas Markwalder [Mon, 13 Apr 2026 15:38:38 +0000 (11:38 -0400)] 
[#4441] Clean up and new UTs

/src/lib/dhcpsrv/sflq_allocation_state.h
/src/lib/dhcpsrv/sflq_allocator.h
     clean up

/src/lib/dhcpsrv/tests/shared_network_unittest.cc
    TEST(SharedNetwork4Test, sflqGetPreferredSubnet)
    TEST(SharedNetwork6Test, sflqGetPreferredSubnet)
    - new tests

11 days ago[#4441] Added capacity checks
Thomas Markwalder [Fri, 10 Apr 2026 19:19:23 +0000 (15:19 -0400)] 
[#4441] Added capacity checks

Both MySQL and PostgreSQL are working end to end!

/src/hooks/dhcp/mysql/mysql_lb_messages.mes
    Added capacity to pool create logs

/src/hooks/dhcp/mysql/mysql_lease_mgr.cc
    MySqlLeaseMgr::sflqCreateFlqPool4()
    MySqlLeaseMgr::sflqCreateFlqPool6()
    - Added capacity to pool create log added 16M pool capacity guard

/src/hooks/dhcp/pgsql/pgsql_lb_messages.mes
    Added capacity to pool create logs

/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
    PgSqlLeaseMgr::sflqCreateFlqPool4()
    PgSqlLeaseMgr::sflqCreateFlqPool6()
    - Added capacity to pool create log added 16M pool capacity guard

/src/lib/dhcpsrv/subnet.cc
    Subnet6::createAllocators() - fixed allocator type check

11 days ago[#4441] PostgreSQL add where params, row logic
Thomas Markwalder [Fri, 10 Apr 2026 14:02:01 +0000 (10:02 -0400)] 
[#4441] PostgreSQL add where params, row logic

Catch up with MySQL changes

/src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_sflqUpdateLease4()
    pgsql_sflqUpdateLease6()
    - add where parameters

/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
    SFLQ_UPDATE_LEASE4
    SFLQ_UPDATE_LEASE6
    - add where parameters

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    sflqUpdateLease4
    sflqUpdateLease6
    - make logic consistent with PostgreSQL

/src/share/database/scripts/mysql/dhcpdb_drop.mysql
    Added sflqFakeRowCount

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    FUNCTION sflqFakeRowCount() - new function

    sflqUpdateLease4()
    sflqUpdateLease6()
    - add where parameters
    - add fake row logic

    sflqDeleteLease4()
    sflqDeleteLease6()
    - add fake row logic

/src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added sflqFakeRowCount

11 days ago[#4441] cfg parsing, allocation state, Mysql bugs
Thomas Markwalder [Thu, 9 Apr 2026 19:39:00 +0000 (15:39 -0400)] 
[#4441] cfg parsing, allocation state, Mysql bugs

Parsing changes so shared-flq allocator can be configured

Added SubnetSflqAllocationState class

MySQL changes:
Added transacations back to lease ops SQL proceduresr
changes in one session were not being committed, so
invisible to others.

Added omitted where parameters to sflqUpdateLease*
Added sflqFakeRowCount() to set affected row count in
lease op procedures

new file:   src/lib/dhcpsrv/sflq_allocation_state.cc
new file:   src/lib/dhcpsrv/sflq_allocation_state.h

/src/bin/admin/tests/mysql_tests.sh.in
    mysql_sflqUpdateLease4()
    mysql_sflqUpdateLease6()
    - added where params:

/src/hooks/dhcp/mysql/mysql_lease_mgr.cc
     MySqlLeaseMgr::SFLQ_UPDATE_LEASE4
     MySqlLeaseMgr::SFLQ_UPDATE_LEASE6
    - added where params:

/src/lib/dhcpsrv/meson.build
    Add sflq_allcoation_state.*

/src/lib/dhcpsrv/parsers/base_network_parser.cc
    BaseNetworkParser::parseAllocatorParams()
    BaseNetworkParser::parsePdAllocatorParams()
    - allow "shared-flg"

/src/lib/dhcpsrv/parsers/shared_network_parser.cc
    SharedNetwork6Parser::parse()
    - disallow shared-flq for NA pools

/src/lib/dhcpsrv/sflq_allocator.*
    SharedFlqAllocator::pickAddressInternal()
    - set last allocated time in subnet allocator state
    SharedFlqAllocator::getSubnetState() - new function

/src/lib/dhcpsrv/subnet.cc
    Subnet4::createAllocators()
    Subnet6::createAllocators()
    - support "shared-flq"

/src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    TEST_F(ParseConfigTest, invalidSubnetAllocator4)
    TEST_F(ParseConfigTest, invalidSubnetAllocator6)
    - updated expected error msg

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    sflqFakeRowCount()
    - new procedure

    sflqInsertLease4
    sflqInsertLease6
    - add back transaction

    sflqUpdateLease4
    sflqUpdateLease6
    - add back transaction
    - preserve affected row count
    - add where params

    sflqDeleteLease4
    sflqDeleteLease6
    - add back transaction
    - preserve affected row count

11 days ago[#4441] Added alt statements and UTs
Thomas Markwalder [Tue, 7 Apr 2026 17:36:27 +0000 (13:36 -0400)] 
[#4441] Added alt statements and UTs

MySql and PostgreSQL lease mgrs now call
alteranate SQL statements when lease is
under SFLQ jurisdiction

/src/hooks/dhcp/mysql/mysql_lease_mgr.*
    Added alternate statements:
    {MySqlLeaseMgr::SFLQ_INSERT_LEASE4,
    {MySqlLeaseMgr::SFLQ_UPDATE_LEASE4,
    {MySqlLeaseMgr::SFLQ_DELETE_LEASE4,
    {MySqlLeaseMgr::SFLQ_INSERT_LEASE6,
    {MySqlLeaseMgr::SFLQ_UPDATE_LEASE6,
    {MySqlLeaseMgr::SFLQ_DELETE_LEASE6,

    Modified to call alt statements:
    MySqlLeaseMgr::addLease*()
    MySqlLeaseMgr::udpateLease*()
    MySqlLeaseMgr::deleteLease*()

    MySqlLeaseMgr::sflqPickFreeLease4() fix output bind

/src/hooks/dhcp/mysql/tests/mysql_lease_mgr_unittest.cc
    Renamed testSFLQ4() to testSflqCreateAndPick4()
    Renamed testSFLQ6() to testSflqCreateAndPick6()

    TEST_F(MySqlLeaseMgrTest, testSflqLeaseOps4 - new test
    TEST_F(MySqlLeaseMgrTest, testSflqLeaseOps6 - new test

/src/hooks/dhcp/pgsql/pgsql_lease_mgr.*
    Added alternate statements:
        SFLQ_INSERT_LEASE4
        SFLQ_UPDATE_LEASE4
        SLQ_DELETE_LEASE4
        SFLQ_INSERT_LEASE6
        SFLQ_UPDATE_LEASE6
        SFLQ_DELETE_LEASE6

    Modified to call alt statements:
    PgSqlLeaseMgr::addLease*()
    PgSqlLeaseMgr::udpateLease*()
    PgSqlLeaseMgr::deleteLease*()

/src/hooks/dhcp/pgsql/tests/pgsql_lease_mgr_unittest.cc
    Renamed testSFLQ4() to testSflqCreateAndPick4()
    Renamed testSFLQ6() to testSflqCreateAndPick6()

    TEST_F(PgSqlLeaseMgrTest, testSflqLeaseOps4 - new test
    TEST_F(PgSqlLeaseMgrTest, testSflqLeaseOps6 - new test

/src/lib/dhcpsrv/lease_mgr.*
    bool LeaseMgr::useSharedFlqStatement(*) - new functions

/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.*
    Renamed testSFLQ4() to testSflqCreateAndPick4()
    Renamed testSFLQ6() to testSflqCreateAndPick6()

    testSflqLeaseOps4() - new test
    testSflqLeaseOps6()- new test

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    Fixed null returns in sflqPickFreeLease*

11 days ago[#4381] Update release_checklist.md
Andrei Pavel [Thu, 2 Apr 2026 09:10:26 +0000 (12:10 +0300)] 
[#4381] Update release_checklist.md

11 days ago[#4381] Update release_checklist.md
Andrei Pavel [Thu, 2 Apr 2026 08:23:32 +0000 (11:23 +0300)] 
[#4381] Update release_checklist.md

2 weeks ago[#4212] added more UTs
Razvan Becheriu [Thu, 15 Jan 2026 13:33:14 +0000 (15:33 +0200)] 
[#4212] added more UTs

2 weeks ago[#4212] Improved readability
Francis Dupont [Tue, 30 Dec 2025 09:21:20 +0000 (10:21 +0100)] 
[#4212] Improved readability

2 weeks ago[#4212] Ported Razvan's test/bench
Francis Dupont [Fri, 26 Dec 2025 15:38:28 +0000 (16:38 +0100)] 
[#4212] Ported Razvan's test/bench

2 weeks ago[#4212] Checkpoint: xoy extra UTs
Francis Dupont [Thu, 25 Dec 2025 17:56:57 +0000 (18:56 +0100)] 
[#4212] Checkpoint: xoy extra UTs

2 weeks ago[#4258] Added lru UTs
Francis Dupont [Sat, 13 Dec 2025 11:10:29 +0000 (12:10 +0100)] 
[#4258] Added lru UTs

2 weeks ago[#4258] Experiment with relocate
Francis Dupont [Sat, 13 Dec 2025 00:19:09 +0000 (01:19 +0100)] 
[#4258] Experiment with relocate

2 weeks ago[#4448] added ChangeLog entry
Razvan Becheriu [Mon, 13 Apr 2026 17:22:44 +0000 (20:22 +0300)] 
[#4448] added ChangeLog entry

2 weeks ago[#4448] fix ha listener shutdown under load
Razvan Becheriu [Thu, 9 Apr 2026 05:07:05 +0000 (08:07 +0300)] 
[#4448] fix ha listener shutdown under load

3 weeks ago[#4446] Increase timeout of mysql_tests.sh
Andrei Pavel [Tue, 7 Apr 2026 13:34:12 +0000 (16:34 +0300)] 
[#4446] Increase timeout of mysql_tests.sh

3 weeks ago[#4425] Fixed typos
Thomas Markwalder [Mon, 6 Apr 2026 13:59:35 +0000 (09:59 -0400)] 
[#4425] Fixed typos

modified:   src/lib/dhcpsrv/sflq_allocator.h
modified:   src/lib/dhcpsrv/testutils/sflqtest_lease_mgr.h

3 weeks ago[#4425] Addressed more review comments
Thomas Markwalder [Mon, 6 Apr 2026 13:18:19 +0000 (09:18 -0400)] 
[#4425] Addressed more review comments

/src/bin/admin/tests/pgsql_tests.sh.in
     Minor nits

/src/lib/dhcpsrv/tests/sflq_allocator_unittest.cc
    Replace contains with count

/src/lib/dhcpsrv/testutils/sflqtest_lease_mgr.h
    Fixed override warnings

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    inetToBytea(inet_address inet) - handle v6 addresses
    with empty first hextet

3 weeks ago[#4425] Fixed v4-mapped address issue in inetToBytea
Thomas Markwalder [Sat, 4 Apr 2026 15:42:14 +0000 (11:42 -0400)] 
[#4425] Fixed v4-mapped address issue in inetToBytea

/src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_inetToBytea() - new test

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    Handle special case first octect zero

3 weeks ago[#4425] Addressed review comments
Thomas Markwalder [Sat, 4 Apr 2026 12:43:04 +0000 (08:43 -0400)] 
[#4425] Addressed review comments

/src/bin/admin/tests/mysql_tests.sh.in
    mysql_sflqCreateFlqPool4Invalid() - new test
    mysql_sflqPickFreeLease4() - added test cases
    mysql_sflqCreateFlqPool6Invalid() - new test
    mysql_sflqPickFreeLease6() - added test cases

/src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_sflqCreateFlqPool4Invalid() - new test
    pgsql_sflqPickFreeLease4() - added test cases
    pgsql_sflqCreateFlqPool6Invalid() - new test
    pgsql_sflqPickFreeLease6() - added test cases

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    Added parameter validation and fixed overruns in
    create pool functions

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    Added parameter validation and fixed overruns in
    create pool functions
    Fixed a bug in inetToBytea on address with an empty first octet

And various nits.

3 weeks ago[#4425] Catch overrun in MySql sflqCreateFlqPool4
Thomas Markwalder [Fri, 3 Apr 2026 14:06:12 +0000 (10:06 -0400)] 
[#4425] Catch overrun in MySql sflqCreateFlqPool4

modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in

3 weeks ago[#4425] Improved MySQL setLoopLimit
Thomas Markwalder [Fri, 3 Apr 2026 13:15:31 +0000 (09:15 -0400)] 
[#4425] Improved MySQL setLoopLimit

Sets a cap of 1000, and sets the DB's session
variable limit if it is zero.

3 weeks ago[#4425] Implement SharedFlqAllocator class
Thomas Markwalder [Thu, 2 Apr 2026 19:16:46 +0000 (15:16 -0400)] 
[#4425] Implement SharedFlqAllocator class

modified:   src/lib/dhcpsrv/cfg_subnets4.cc
modified:   src/lib/dhcpsrv/cfg_subnets6.cc
modified:   src/lib/dhcpsrv/iterative_allocator.h
modified:   src/lib/dhcpsrv/meson.build
new file:   src/lib/dhcpsrv/sflq_allocator.cc
new file:   src/lib/dhcpsrv/sflq_allocator.h
modified:   src/lib/dhcpsrv/tests/meson.build
new file:   src/lib/dhcpsrv/tests/sflq_allocator_unittest.cc
modified:   src/lib/dhcpsrv/testutils/meson.build
new file:   src/lib/dhcpsrv/testutils/sflqtest_lease_mgr.cc
new file:   src/lib/dhcpsrv/testutils/sflqtest_lease_mgr.h

3 weeks ago[#4417] Addressed review comments
Thomas Markwalder [Thu, 2 Apr 2026 17:13:54 +0000 (13:13 -0400)] 
[#4417] Addressed review comments

Applied batch to turn PostgreSQL procedures into functions
for PosgreSQL 10 compatibility

Several smaller typos and mistakes.

modified:
src/bin/admin/tests/pgsql_tests.sh.in
src/hooks/dhcp/mysql/mysql_lb_messages.cc
src/hooks/dhcp/mysql/mysql_lb_messages.mes
src/hooks/dhcp/mysql/mysql_lease_mgr.cc
src/hooks/dhcp/mysql/mysql_lease_mgr.h
src/hooks/dhcp/mysql/tests/mysql_lease_mgr_unittest.cc
src/hooks/dhcp/pgsql/pgsql_lb_messages.cc
src/hooks/dhcp/pgsql/pgsql_lb_messages.mes
src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
src/hooks/dhcp/pgsql/pgsql_lease_mgr.h
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.h
src/lib/mysql/mysql_binding.h
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

3 weeks ago[#4417] Fix missing log argument
Thomas Markwalder [Thu, 2 Apr 2026 13:43:54 +0000 (09:43 -0400)] 
[#4417] Fix missing log argument

modified:   src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified:   src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc

3 weeks ago[#4417] Add log messages
Thomas Markwalder [Thu, 2 Apr 2026 13:22:27 +0000 (09:22 -0400)] 
[#4417] Add log messages

modified:   ../mysql/mysql_lb_messages.cc
modified:   ../mysql/mysql_lb_messages.h
modified:   ../mysql/mysql_lb_messages.mes
modified:   ../mysql/mysql_lease_mgr.cc
modified:   pgsql_lb_messages.cc
modified:   pgsql_lb_messages.h
modified:   pgsql_lb_messages.mes
modified:   pgsql_lease_mgr.cc

3 weeks ago[#4417] SFLQ Create/Pick added to LeaseMgrs
Thomas Markwalder [Wed, 1 Apr 2026 15:14:05 +0000 (11:14 -0400)] 
[#4417] SFLQ Create/Pick added to LeaseMgrs

Added new SQL statements and functions to
create and pick from SFLQ pools to
MySQL and PostgreSQL lease managers

/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
    New SQL statements:
    SFLQ_CREATE_POOL4
    SFLQ_PICK_FREE_LEASE4
    SFLQ_CREATE_POOL6
    SFLQ_PICK_FREE_LEASE6

    New functions:
    PgSqlLeaseMgr::sflqCreateFlqPool4()
    PgSqlLeaseMgr::sflqPickFreeLease4()
    PgSqlLeaseMgr::sflqCreateFlqPool6()
    PgSqlLeaseMgr::sflqPickFreeLease6()

/src/hooks/dhcp/pgsql/tests/pgsql_lease_mgr_unittest.cc
    New tests:
    TEST_F(PgSqlLeaseMgrTest, testSFLQ4)
    TEST_F(PgSqlLeaseMgrTest, testSFLQ6)

/src/hooks/dhcp/mysql/mysql_lease_mgr.*
    New SQL statements:
    MySqlLeaseMgr::SFLQ_CREATE_FLQ_POOL4
    MySqlLeaseMgr::SFLQ_PICK_FREE_LEASE4
    MySqlLeaseMgr::SFLQ_CREATE_FLQ_POOL6
    MySqlLeaseMgr::SFLQ_PICK_FREE_LEASE6

    New functions:
    MySqlLeaseMgr::sflqCreateFlqPool4()
    MySqlLeaseMgr::sflqPickFreeLease4()
    MySqlLeaseMgr::sflqCreateFlqPool6()
    MySqlLeaseMgr::sflqPickFreeLease6()

/src/hooks/dhcp/mysql/tests/mysql_lease_mgr_unittest.cc
    New tests:
    TEST_F(MySqlLeaseMgrTest, testSFLQ4)
    TEST_F(MySqlLeaseMgrTest, testSFLQ6)

/src/lib/dhcpsrv/lease_mgr.*
    New Functions:
    LeaseMgr::sflqCreateFlqPool4()
    LeaseMgr::sflqPickFreeLease4()
    LeaseMgr::sflqCreateFlqPool6()
    LeaseMgr::sflqPickFreeLease6()

/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.*
    New tests:
    GenericLeaseMgrTest::testSFLQ4()
    GenericLeaseMgrTest::testSFLQ6()

3 weeks ago[#4405] Addressed review comments
Thomas Markwalder [Wed, 1 Apr 2026 14:02:36 +0000 (10:02 -0400)] 
[#4405] Addressed review comments

    Fixed typos

modified:   src/bin/admin/tests/mysql_tests.sh.in
modified:   src/bin/admin/tests/pgsql_tests.sh.in
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

4 weeks ago[#4405] Removed transactions
Thomas Markwalder [Tue, 31 Mar 2026 17:54:53 +0000 (13:54 -0400)] 
[#4405] Removed transactions

Removed transactions from add/update/delete procedures.
They have a big impact performance and don't make much sense.

modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

4 weeks ago[4405] SFLQ lease insert,update,delete procedures
Thomas Markwalder [Tue, 31 Mar 2026 15:29:03 +0000 (11:29 -0400)] 
[4405] SFLQ lease insert,update,delete procedures

Added stored procedures and UTs for MySql
and PostgreSQL for lease insert, update, and delete

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/dhcpdb_drop.mysql
/src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
    New stored procedures:
    sflqInsertLease4
    sflqUpdateLease4
    sflqDeleteLease4
    sflqInsertLease6
    sflqUpdateLease6

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
/src/share/database/scripts/mysql/upgrade_032_to_033.sh.in
    New stored procedures:
    sflqInsertLease4
    sflqUpdateLease4
    sflqDeleteLease4
    sflqInsertLease6
    sflqUpdateLease6

/src/bin/admin/tests/mysql_tests.sh.in
    New tests:
    mysql_sflqInsertLease4
    mysql_sflqUpdateLease4
    mysql_sflqDeleteLease4
    mysql_sflqInsertLease6
    mysql_sflqUpdateLease6
    mysql_sflqDeleteLease6

/src/bin/admin/tests/pgsql_tests.sh.in
    New tests:
    pgsql_sflqInsertLease4
    pgsql_sflqUpdateLease4
    pgsql_sflqDeleteLease4
    pgsql_sflqInsertLease6
    pgsql_sflqUpdateLease6
    pgsql_sflqDeleteLease6

4 weeks ago[#4373] Fix postgresql pick logic
Thomas Markwalder [Tue, 31 Mar 2026 12:52:08 +0000 (08:52 -0400)] 
[#4373] Fix postgresql pick logic

Fix the if clause on the second try pick in sflqPickFreeLease*

modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

4 weeks ago[#4373] Addressed more review comments
Thomas Markwalder [Tue, 31 Mar 2026 11:59:23 +0000 (07:59 -0400)] 
[#4373] Addressed more review comments

modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in

4 weeks ago[#4373] Missed typo fix
Thomas Markwalder [Mon, 30 Mar 2026 17:41:45 +0000 (13:41 -0400)] 
[#4373] Missed typo fix

modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in

4 weeks agoTypo fix
Thomas Markwalder [Mon, 30 Mar 2026 17:36:35 +0000 (17:36 +0000)] 
Typo fix

4 weeks ago[#4373] Addressed some review comments
Thomas Markwalder [Mon, 30 Mar 2026 17:33:33 +0000 (13:33 -0400)] 
[#4373] Addressed some review comments

    Use ON DUPLICATE UPDATE instead of INSERT IGNORE
    Raise an error on invalid delegated length

modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
modified:   src/share/database/scripts/mysql/upgrade_033_to_034.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in

4 weeks ago[#4373] Made perf improvements for postgresql
Thomas Markwalder [Mon, 30 Mar 2026 13:57:00 +0000 (09:57 -0400)] 
[#4373] Made perf improvements for postgresql

/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_032_to_033.sh.in
    sflqCreateFlqPool6() - optmized for perf

4 weeks ago[#4373] Improve Mysql sflqCreateFlqPool6 performance
Thomas Markwalder [Sun, 29 Mar 2026 17:08:12 +0000 (13:08 -0400)] 
[#4373] Improve Mysql sflqCreateFlqPool6 performance

modified:
    /src/share/database/scripts/mysql/dhcpdb_create.mysql
    /src/share/database/scripts/mysql/upgrade_033_to_034.sh.in