mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#2682] Addressed comments
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2092. [bug] fdupont
|
||||
Added logic to kea-dhcp4 and kea-dhcp6 to catch and log
|
||||
database connection errors that occur during lease
|
||||
reclamation. Prior to this such errors caused the
|
||||
reclamation timer to not get rescheduled.
|
||||
(Gitlab #2682)
|
||||
|
||||
2091. [bug] marcin
|
||||
Fixed a bug that caused a response to a config-get command
|
||||
to lack the configured read-timeout, write-timeout, and
|
||||
|
@@ -2343,7 +2343,7 @@ AllocEngine::reclaimExpiredLeases6(const size_t max_leases,
|
||||
.arg(timeout);
|
||||
|
||||
try {
|
||||
reclaimExpiredLeases6NoExc(max_leases, timeout, remove_lease,
|
||||
reclaimExpiredLeases6Internal(max_leases, timeout, remove_lease,
|
||||
max_unwarned_cycles);
|
||||
} catch (const std::exception& ex) {
|
||||
LOG_ERROR(alloc_engine_logger,
|
||||
@@ -2353,7 +2353,7 @@ AllocEngine::reclaimExpiredLeases6(const size_t max_leases,
|
||||
}
|
||||
|
||||
void
|
||||
AllocEngine::reclaimExpiredLeases6NoExc(const size_t max_leases,
|
||||
AllocEngine::reclaimExpiredLeases6Internal(const size_t max_leases,
|
||||
const uint16_t timeout,
|
||||
const bool remove_lease,
|
||||
const uint16_t max_unwarned_cycles) {
|
||||
@@ -2506,7 +2506,7 @@ AllocEngine::reclaimExpiredLeases4(const size_t max_leases,
|
||||
.arg(timeout);
|
||||
|
||||
try {
|
||||
reclaimExpiredLeases4NoExc(max_leases, timeout, remove_lease,
|
||||
reclaimExpiredLeases4Internal(max_leases, timeout, remove_lease,
|
||||
max_unwarned_cycles);
|
||||
} catch (const std::exception& ex) {
|
||||
LOG_ERROR(alloc_engine_logger,
|
||||
@@ -2516,7 +2516,7 @@ AllocEngine::reclaimExpiredLeases4(const size_t max_leases,
|
||||
}
|
||||
|
||||
void
|
||||
AllocEngine::reclaimExpiredLeases4NoExc(const size_t max_leases,
|
||||
AllocEngine::reclaimExpiredLeases4Internal(const size_t max_leases,
|
||||
const uint16_t timeout,
|
||||
const bool remove_lease,
|
||||
const uint16_t max_unwarned_cycles) {
|
||||
|
@@ -665,7 +665,7 @@ public:
|
||||
/// of expired leases, after which the system issues a warning if there
|
||||
/// are still expired leases in the database. If this value is 0, the
|
||||
/// warning is never issued.
|
||||
void reclaimExpiredLeases6NoExc(const size_t max_leases,
|
||||
void reclaimExpiredLeases6Internal(const size_t max_leases,
|
||||
const uint16_t timeout,
|
||||
const bool remove_lease,
|
||||
const uint16_t max_unwarned_cycles = 0);
|
||||
@@ -741,7 +741,7 @@ public:
|
||||
/// of expired leases, after which the system issues a warning if there
|
||||
/// are still expired leases in the database. If this value is 0, the
|
||||
/// warning is never issued.
|
||||
void reclaimExpiredLeases4NoExc(const size_t max_leases,
|
||||
void reclaimExpiredLeases4Internal(const size_t max_leases,
|
||||
const uint16_t timeout,
|
||||
const bool remove_lease,
|
||||
const uint16_t max_unwarned_cycles = 0);
|
||||
|
Reference in New Issue
Block a user