]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 12 Jan 2021 10:25:09 +0000 (11:25 +0100)]
[#1402] Described ha-reset in the ARM
Marcin Siodelski [Tue, 12 Jan 2021 09:39:04 +0000 (10:39 +0100)]
[#1402] Send ha-reset to partner
The ha-reset command is sent to the partner when communication is
re-established but the lease backlog is overflown or an attempt to send
lease updates failed. This causes the partner to synchronize its lease
database with the server sending ha-reset.
Marcin Siodelski [Mon, 11 Jan 2021 10:32:34 +0000 (11:32 +0100)]
[#1402] Function to create ha-reset command
Added function to CommandCreator to generate ha-reset command.
Marcin Siodelski [Mon, 11 Jan 2021 09:35:18 +0000 (10:35 +0100)]
[#1402] Implemented ha-reset command
Marcin Siodelski [Fri, 8 Jan 2021 09:56:45 +0000 (10:56 +0100)]
[#1402] Added a note in lease_update_backlog.h
Explained why the lease updates backlog is implemented in terms of a
single std::deque, as requested in review comment.
Marcin Siodelski [Thu, 7 Jan 2021 15:25:58 +0000 (16:25 +0100)]
[#1402] Watch for invalid partner state
If the local server detects that its partner is in an unexpected state
it will transition to the waiting state. Insufficient checks were indicated
in the review comments.
Marcin Siodelski [Thu, 7 Jan 2021 12:34:13 +0000 (13:34 +0100)]
[#1402] Trivial changes to HAService tests
For tests which verify the case of communication recovery failure, moved
listeners startup into the test part that checks that communication
can be re-established, per review comments.
Marcin Siodelski [Thu, 7 Jan 2021 12:19:55 +0000 (13:19 +0100)]
[#1402] LeaseUpdateBacklog is no longer a template
LeaseUpdateBacklog now holds LeasePtr and is no longer a template class
as suggested in review comments. Classes using this class were simplified.
In particular, the HAService class has now only one backlog queue.
Marcin Siodelski [Thu, 7 Jan 2021 11:10:13 +0000 (12:10 +0100)]
[#1402] Improved comments in the code
... per review comments.
Marcin Siodelski [Thu, 7 Jan 2021 10:28:14 +0000 (11:28 +0100)]
[#1402] Added new notes in the HA ARM
Added a couple of notes in the ARM (HA section) to explain the new default
behavior of the server after introduction of the delayed-updates-limit.
Marcin Siodelski [Thu, 7 Jan 2021 09:35:25 +0000 (10:35 +0100)]
[#1402] Easy editorial changes in the ARM
Applied several editorial changes in the ARM as a result of the review.
These were mostly little typos and grammatical errors.
Marcin Siodelski [Wed, 23 Dec 2020 14:51:37 +0000 (15:51 +0100)]
[#1402] Added ChangeLog entry for #1402
Marcin Siodelski [Wed, 23 Dec 2020 14:48:04 +0000 (15:48 +0100)]
[#1402] Updated ARM
Added description of the delayed-updates-limit and the communication
recovery procedure.
Marcin Siodelski [Wed, 23 Dec 2020 14:47:21 +0000 (15:47 +0100)]
[#1402] Avoid unused parameter warning
Marcin Siodelski [Tue, 22 Dec 2020 16:56:35 +0000 (17:56 +0100)]
[#1402] Correct wrong log message
When the server transitioned to the communication-recovery state it used
to say that lease updates will be sent in that state. In fact, the updates
are not sent (but they are queued). The code was corrected to address this.
Marcin Siodelski [Tue, 22 Dec 2020 13:26:25 +0000 (14:26 +0100)]
[#1402] Comm recovery enabled via config
There is a new parameter, delayed-updates-limit, which can be used to
enable communication-recovery state in the load-balancing mode and control
how many lease updates can be queued while being in this state.
Marcin Siodelski [Mon, 21 Dec 2020 17:34:20 +0000 (18:34 +0100)]
[#1402] Sending lease updates backlog
A backlog of lease updates is sent to a partner upon resuming communication
between the servers. If any of the lease updates fails, we simply
transition to the waiting state and let them re-synchronize.
Marcin Siodelski [Mon, 21 Dec 2020 11:15:33 +0000 (12:15 +0100)]
[#1402] lease6-bulk-apply from backlog
Updated command creator to create lease6-bulk-apply command from the
lease backlog.
Marcin Siodelski [Fri, 18 Dec 2020 14:44:16 +0000 (15:44 +0100)]
[#1402] Collect unsent lease updates
In the communication-recovery state, the server collects unsent lease
updates with an intent to send them later when communication with the
partner is back.
Marcin Siodelski [Thu, 17 Dec 2020 10:42:54 +0000 (11:42 +0100)]
[#1402] Added lease updates backlog queue
The new class is a container for lease updates backlog which will be used
when the server is in communication-recovery state.
Marcin Siodelski [Wed, 16 Dec 2020 15:10:20 +0000 (16:10 +0100)]
[#1402] Added communication-recovery HA state
Francis Dupont [Mon, 11 Jan 2021 15:10:06 +0000 (16:10 +0100)]
[(no branch, rebasing 1418-implement-in-kea-the-dhcp-cache-threshold-idea-full)] Updated lease cache ChangeLog entry
Francis Dupont [Mon, 11 Jan 2021 13:14:20 +0000 (14:14 +0100)]
[#1418] Addressed cosmetics comments
Francis Dupont [Wed, 18 Nov 2020 23:49:20 +0000 (00:49 +0100)]
[#1418] Finished rebase, did CB
Francis Dupont [Tue, 17 Nov 2020 11:04:42 +0000 (12:04 +0100)]
[#1418] Addressed some comments
Francis Dupont [Tue, 17 Nov 2020 10:32:43 +0000 (11:32 +0100)]
[#1418] Changed remaining by reusable in doc
Francis Dupont [Mon, 16 Nov 2020 16:57:55 +0000 (17:57 +0100)]
[#1418] Changed remaining_ for reusable_
Francis Dupont [Sat, 14 Nov 2020 15:46:27 +0000 (16:46 +0100)]
[#1418] Addressed first comments
Francis Dupont [Fri, 13 Nov 2020 12:03:48 +0000 (13:03 +0100)]
[#1418] Updated v6 tests and doc
Francis Dupont [Fri, 13 Nov 2020 02:02:20 +0000 (03:02 +0100)]
[#1418] Checkpoint: todo v6 server UT and doc
Francis Dupont [Thu, 12 Nov 2020 22:52:23 +0000 (23:52 +0100)]
[#1418] Checkpoint: did v6 core code
Francis Dupont [Thu, 12 Nov 2020 18:26:10 +0000 (19:26 +0100)]
[#1418] Checkpoint: finished v4 part, v6 and doc to do
Francis Dupont [Thu, 12 Nov 2020 09:52:12 +0000 (10:52 +0100)]
[#1418] Checkpoint: small improvements
Francis Dupont [Wed, 11 Nov 2020 16:43:36 +0000 (17:43 +0100)]
[#1418] Checkpoint: preparation code done
Francis Dupont [Wed, 11 Nov 2020 12:59:38 +0000 (13:59 +0100)]
[#1418] Removed conditionalExtendLifetime
Francis Dupont [Mon, 4 Jan 2021 16:59:21 +0000 (17:59 +0100)]
[#1585] Added a ChangeLog entry
Francis Dupont [Fri, 18 Dec 2020 11:07:36 +0000 (12:07 +0100)]
[#1585] Done (final phase)
Francis Dupont [Fri, 18 Dec 2020 08:12:17 +0000 (09:12 +0100)]
[#1585] Checkpoint: did third phase
Francis Dupont [Fri, 18 Dec 2020 00:07:27 +0000 (01:07 +0100)]
[#1585] Checkpoint: did second phase
Francis Dupont [Thu, 17 Dec 2020 21:24:00 +0000 (22:24 +0100)]
[#1585] Checkpoint: did first pass
Francis Dupont [Thu, 17 Dec 2020 18:01:46 +0000 (19:01 +0100)]
[#1585] Checkpoint: libdhcp tests
Francis Dupont [Thu, 17 Dec 2020 14:14:34 +0000 (15:14 +0100)]
[#1585] Checkpoint: reindented std defs
Francis Dupont [Thu, 17 Dec 2020 12:53:14 +0000 (13:53 +0100)]
[#1585] Checkpoint: updated option definition
Andrei Pavel [Wed, 6 Jan 2021 23:01:03 +0000 (01:01 +0200)]
[#1630] add procps package to alpine hammer.py
Andrei Pavel [Wed, 6 Jan 2021 22:57:49 +0000 (00:57 +0200)]
[#1630] fix remove_if_exists not removing a file
Razvan Becheriu [Fri, 8 Jan 2021 20:51:36 +0000 (22:51 +0200)]
[#1578] added ChangeLog
Razvan Becheriu [Fri, 8 Jan 2021 13:53:03 +0000 (15:53 +0200)]
[#1578] added ChangeLog
Razvan Becheriu [Fri, 8 Jan 2021 13:47:54 +0000 (15:47 +0200)]
[#1578] also fixed report values
Razvan Becheriu [Thu, 7 Jan 2021 12:01:53 +0000 (14:01 +0200)]
[#1578] fixed log message offset
Andrei Pavel [Wed, 6 Jan 2021 23:32:30 +0000 (01:32 +0200)]
[#1637] remove comment about Werror being default
Andrei Pavel [Wed, 6 Jan 2021 23:32:12 +0000 (01:32 +0200)]
[#1637] remove unnecessary -Wno-error in Makefiles
Andrei Pavel [Wed, 6 Jan 2021 23:29:14 +0000 (01:29 +0200)]
[#1637] remove unnecessary -Werror in Makefiles
Francis Dupont [Wed, 6 Jan 2021 16:49:56 +0000 (17:49 +0100)]
[#1636] typo
Francis Dupont [Wed, 6 Jan 2021 14:37:08 +0000 (15:37 +0100)]
[#1636] More untabifies
Francis Dupont [Wed, 6 Jan 2021 13:31:02 +0000 (14:31 +0100)]
[#1636] Ported 1263/1619 fixes
Michal Nowikowski [Tue, 5 Jan 2021 14:37:38 +0000 (15:37 +0100)]
[#1512] hammer: improved handling missing vagrant
Tomek Mrugalski [Tue, 5 Jan 2021 14:30:18 +0000 (15:30 +0100)]
[#1512] Fixed exception when vagrant is missing
Michal Nowikowski [Tue, 5 Jan 2021 09:12:00 +0000 (10:12 +0100)]
[#1512] hammer: improved handling error conditions
Andrei Pavel [Mon, 4 Jan 2021 16:07:11 +0000 (18:07 +0200)]
[#1603] UT CSVFileTest.parseContentWithBlankLines
Andrei Pavel [Mon, 4 Jan 2021 16:01:33 +0000 (18:01 +0200)]
[#1603] CSVFile: skip blank lines
Andrei Pavel [Fri, 18 Dec 2020 12:24:08 +0000 (14:24 +0200)]
[#1603] CSVFileTest.parse*WithoutTrailingBlankLine
Andrei Pavel [Fri, 11 Dec 2020 10:03:55 +0000 (12:03 +0200)]
[#1603] fix kea-lfc ignoring lines without newline
Razvan Becheriu [Mon, 4 Jan 2021 16:09:53 +0000 (18:09 +0200)]
[#1458] addressed comments
Razvan Becheriu [Mon, 4 Jan 2021 15:56:15 +0000 (17:56 +0200)]
[#1458] addressed comments
Razvan Becheriu [Mon, 4 Jan 2021 10:36:15 +0000 (12:36 +0200)]
[#1458] trivial optimization
Francis Dupont [Mon, 4 Jan 2021 15:59:42 +0000 (16:59 +0100)]
[#1540] Added a ChangeLog entry
Francis Dupont [Mon, 4 Jan 2021 15:29:38 +0000 (16:29 +0100)]
[#1540] Now it is 2021...
Francis Dupont [Mon, 4 Jan 2021 15:28:58 +0000 (16:28 +0100)]
[#1540] Removed extra blank line
Francis Dupont [Tue, 29 Dec 2020 15:35:50 +0000 (16:35 +0100)]
[#1540] Removed obsolete index
Francis Dupont [Sat, 14 Nov 2020 18:26:22 +0000 (19:26 +0100)]
[#1540] Removed useless getLease4 variant
Michal Nowikowski [Thu, 29 Oct 2020 08:31:19 +0000 (09:31 +0100)]
[#1511] removed adding dates to files generated by kea-msg-compiler
Andrei Pavel [Wed, 30 Dec 2020 11:53:28 +0000 (13:53 +0200)]
[#1602] update outdated copyrights
Andrei Pavel [Wed, 30 Dec 2020 11:25:29 +0000 (13:25 +0200)]
[#1602] solve CI issues
Andrei Pavel [Wed, 30 Dec 2020 11:17:51 +0000 (13:17 +0200)]
[#1602] solve CI issues
Andrei Pavel [Wed, 30 Dec 2020 10:40:33 +0000 (12:40 +0200)]
[#1602] add ChangeLog entry
Andrei Pavel [Wed, 30 Dec 2020 10:51:58 +0000 (12:51 +0200)]
[#1602] remove tools/.generated-files.txt
Andrei Pavel [Wed, 30 Dec 2020 10:40:00 +0000 (12:40 +0200)]
[#1602] add missing '#include <config.h>'
Andrei Pavel [Wed, 30 Dec 2020 10:39:38 +0000 (12:39 +0200)]
[#1602] regenerate .gitattributes
Andrei Pavel [Wed, 30 Dec 2020 10:38:54 +0000 (12:38 +0200)]
[#1602] regenerate .generated-files.txt
Andrei Pavel [Wed, 30 Dec 2020 10:35:31 +0000 (12:35 +0200)]
[#1602] add tools/print-generated-files.sh
Andrei Pavel [Wed, 30 Dec 2020 10:31:08 +0000 (12:31 +0200)]
[#1602] better comments
Andrei Pavel [Tue, 22 Dec 2020 22:26:25 +0000 (00:26 +0200)]
[#1602] add missing-config-h-include step to CI
Andrei Pavel [Tue, 22 Dec 2020 13:16:18 +0000 (15:16 +0200)]
[#1602] remove duplicate includes
Andrei Pavel [Tue, 22 Dec 2020 13:10:52 +0000 (15:10 +0200)]
[#1602] centralize generated files
Andrei Pavel [Tue, 22 Dec 2020 12:44:59 +0000 (14:44 +0200)]
[#1602] add tools/check-duplicate-includes.sh
Andrei Pavel [Wed, 23 Dec 2020 11:46:07 +0000 (13:46 +0200)]
[#437] report failures correctly in <testsuite>
Andrei Pavel [Fri, 18 Dec 2020 10:57:27 +0000 (12:57 +0200)]
[#437] shellcheck fix
Andrei Pavel [Thu, 17 Dec 2020 18:49:16 +0000 (20:49 +0200)]
[#437] add <failure> tag to failed shell tests XML
Andrei Pavel [Tue, 15 Dec 2020 22:35:54 +0000 (00:35 +0200)]
[#437] make shell tests work with GTEST_OUTPUT
Andrei Pavel [Thu, 17 Dec 2020 14:56:09 +0000 (16:56 +0200)]
[#437] portable sleep, now works on BSD
Francis Dupont [Tue, 29 Dec 2020 16:12:35 +0000 (17:12 +0100)]
[#1589] Another spelling
Francis Dupont [Wed, 23 Dec 2020 20:08:13 +0000 (21:08 +0100)]
[#1589] Removed trailing spaces
Francis Dupont [Wed, 23 Dec 2020 20:06:19 +0000 (21:06 +0100)]
[#1589] Fixed signaled spelling errors
Francis Dupont [Fri, 4 Dec 2020 08:43:58 +0000 (09:43 +0100)]
[#1589] Fixed some test entries
Tomek Mrugalski [Wed, 23 Dec 2020 15:30:35 +0000 (16:30 +0100)]
[#1608] ChangeLog updated as suggested.
Tomek Mrugalski [Tue, 22 Dec 2020 12:30:20 +0000 (13:30 +0100)]
[#1608] RFC violations are now documented
Andrei Pavel [Wed, 23 Dec 2020 12:19:42 +0000 (14:19 +0200)]
[#1610] improvements to doxygen on shell scripts
Andrei Pavel [Fri, 18 Dec 2020 20:06:20 +0000 (22:06 +0200)]
[#1610] Developer's Guide: Writing shell tests
Razvan Becheriu [Fri, 18 Dec 2020 07:48:28 +0000 (09:48 +0200)]
[#1616] fixed typo
Razvan Becheriu [Thu, 17 Dec 2020 11:57:30 +0000 (13:57 +0200)]
[#1616] added ChangeLog entry