Commit Graph

38063 Commits

Author SHA1 Message Date
Francis Dupont
c7c09b82e5 [#4259] Fixed typo
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
2025-12-10 18:50:08 +01:00
Francis Dupont
05135756bd [#4259] Replaced some throws by logs 2025-12-10 15:19:12 +01:00
Thomas Markwalder
5bd79deaf1 [#4220] Fixed catch statements
modified:   src/lib/dhcpsrv/memfile_lease_mgr.cc
2025-12-10 13:51:02 +00:00
Thomas Markwalder
d4c47ce76b [#4220] Create error msg before clear()
modified:   src/lib/util/csv_file.cc
2025-12-10 13:51:02 +00:00
Thomas Markwalder
e405e20595 [#4220] Addressed review comments
Changes to be committed:
	new file:   changelog_unreleased/4220-req-option-for-memfile-to-abort-daemon-on-error
    modified:   src/lib/dhcpsrv/memfile_lease_mgr.cc
    modified:   src/lib/util/csv_file.cc
2025-12-10 13:51:02 +00:00
Thomas Markwalder
85208ca6fe [#4220] Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Ben Scott <bscott@isc.org>
2025-12-10 13:51:02 +00:00
Thomas Markwalder
06e920b3ea [#4220] Added basic UT
/src/lib/dhcpsrv/memfile_lease_mgr.h
    util::ReconnectCtlPtr reconnectCtl() - getter for testing only

/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    TEST_F(MemfileLeaseMgrTest, constructorReconnectParams) - new test

src/lib/util/reconnect_ctl.h
    ReconnectCtl::OnFailAction onFailAction() - new getter
2025-12-10 13:51:02 +00:00
Thomas Markwalder
3d3b005171 [#4220] Add support on-fail to memfile
/doc/sphinx/arm/database-connectivity.rst
    Added note

/src/lib/dhcpsrv/memfile_lease_mgr.*
    Memfile_LeaseMgr::Memfile_LeaseMgr() - create the connection
    reconnect object, check for invalid retry values.

    Memfile_LeaseMgr::handleDbLost() - new function for invoking
    the db lost callback.

    Added calls to handleDbLost() on CSVFileFatalError(s)

/src/lib/util/csv_file.*
    CSVFile::append() - throw CSVFileFatalError if stream is bad,
    include error specifics
2025-12-10 13:51:02 +00:00
Francis Dupont
6c9dc8cc23 [#4061] Completed CID 1662681
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
2025-12-09 23:25:41 +01:00
Francis Dupont
790b409bda [#4061] Fixed init (VID 1662546) 2025-12-09 23:25:41 +01:00
Francis Dupont
a516b30a21 [#4061] Fixed init (VID 1662580) 2025-12-09 23:25:41 +01:00
Francis Dupont
1827ed10ac [#4061] Missing init (CID 1662627) 2025-12-09 23:25:41 +01:00
Francis Dupont
aa02225df5 [#4061] Missing init (CID 1662650) 2025-12-09 23:25:41 +01:00
Francis Dupont
3a1f022592 [#4061] Missing init (CID 1662681) 2025-12-09 23:25:41 +01:00
Francis Dupont
cb7d33a485 [#4061] Added a lock in remove (CID 1662569) 2025-12-09 23:25:41 +01:00
Razvan Becheriu
5c9da62f20 [#4248] fixed typo
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
2025-12-09 23:15:38 +01:00
Francis Dupont
b5d90bdc91 [#4248] Added a space 2025-12-09 23:15:38 +01:00
Francis Dupont
a005af7c52 [#4248] Moved watch socket const init 2025-12-09 23:15:38 +01:00
Francis Dupont
036e6021a0 [#4248] Added thread UTs 2025-12-09 23:15:38 +01:00
Francis Dupont
397cb7a2dc [#4248] Added main thread id to logs 2025-12-09 23:15:38 +01:00
Francis Dupont
7ac56a17ce [#4248] Completed last changes from #4225 2025-12-09 23:15:38 +01:00
Razvan Becheriu
852aaa2eb2 [#4248] add log messages 2025-12-09 23:15:38 +01:00
Francis Dupont
d539146dc7 [#4248] Deleted empty obsolete files 2025-12-09 23:15:38 +01:00
Francis Dupont
18ee577797 [#4248] Applied Andrei's clenup patch 2025-12-09 23:15:38 +01:00
Francis Dupont
29749da597 [#4248] Formatted .gitattributes 2025-12-09 23:15:38 +01:00
Francis Dupont
6ba9f12cfa [#4248] Updated mes dependencies 2025-12-09 23:15:38 +01:00
Francis Dupont
dd95d1d875 [#4248] Checkpoint added logger 2025-12-09 23:15:37 +01:00
Thomas Markwalder
ea9a8eb2d2 [#4242] Fixed incorrect string::find
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
modified:   src/hooks/dhcp/limits/limit_manager.h
2025-12-06 01:49:39 -05:00
Francis Dupont
4c524fd8a2 [#4247] Added missing const in catch
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
2025-12-08 15:45:35 +01:00
Francis Dupont
136e1b347a [#4247] Removed commented calls to setCheckThreadId 2025-12-08 15:45:35 +01:00
Francis Dupont
48e4a628d8 [#4247] Ported improvements 2025-12-08 15:45:35 +01:00
Francis Dupont
183211d8eb [#4230] Addressed last comments 2025-12-08 14:31:36 +01:00
Francis Dupont
992ad57613 [#4230] Finshed v6 new test 2025-12-08 14:31:36 +01:00
Francis Dupont
e0731b8317 [#4230] Fixed API files 2025-12-08 14:31:36 +01:00
Francis Dupont
2bd1da2fec [#4230] Checkpoint: added new v4 UT, doing v6 2025-12-08 14:31:36 +01:00
Francis Dupont
c4bc3a26f1 [#4230] Checkpoint: addressed comments 2025-12-08 14:31:36 +01:00
Francis Dupont
5079b22f75 [#4230] Added commands 2025-12-08 14:31:36 +01:00
Francis Dupont
f6609bebfb [#4230] Checkpoint: to do doc and commands 2025-12-08 14:31:36 +01:00
Francis Dupont
3d71514546 [#4230] Checkpoint: pgsql API and commands to do 2025-12-08 14:31:36 +01:00
Francis Dupont
d87e612776 [#4230] Finished indexes 2025-12-08 14:31:35 +01:00
Francis Dupont
d86534713f [#4230] Added indexes 2025-12-08 14:31:35 +01:00
Andrei Pavel
6e8abe4378 [#4245] A retry mechanism for FreeBSD in hammer.py
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
2025-12-08 10:55:57 +02:00
Andrei Pavel
11c0ff192f [#4245] Add some other packages to hammer.py 2025-12-08 10:55:57 +02:00
Andrei Pavel
554289584b [#4245] Add sanitizers feature to hammer.py 2025-12-08 10:55:57 +02:00
Andrei Pavel
514dc12f68 [#4245] Update platforms.rst 2025-12-08 10:55:57 +02:00
Andrei Pavel
7672210608 [#4245] Extend hammer.py to Alpine 3.23, Fedora 43, FreeBSD 15 2025-12-08 10:55:57 +02:00
Wlodzimierz Wencel
8b430f4372 [#4224] update release checklist 2025-12-08 10:43:58 +02:00
Andrei Pavel
37443e9372 [#4224] Update release_checklist.md 2025-12-08 10:43:58 +02:00
Wlodzimierz Wencel
7e366fcc75 [#4224] update to release checklist 2025-12-08 10:43:57 +02:00
Andrei Pavel
d2d572abde [#4224] Update release_checklist.md 2025-12-08 10:43:57 +02:00