From f15a2a1c85934cbd9edac086a8bd9ae7ce3feea6 Mon Sep 17 00:00:00 2001 From: Douglas Koerich Date: Mon, 13 May 2024 17:14:44 -0300 Subject: [PATCH 1/4] EOP-143: New adaptive option to allow reading from cache when resuming domain Signed-off-by: Douglas Koerich --- content/momentum/4/modules/4-adaptive.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/content/momentum/4/modules/4-adaptive.md b/content/momentum/4/modules/4-adaptive.md index 4b237fc81..0b6e93a5d 100644 --- a/content/momentum/4/modules/4-adaptive.md +++ b/content/momentum/4/modules/4-adaptive.md @@ -370,6 +370,16 @@ Specify how often, in seconds, to perform a sweep that checks for expired suspen +
resume_from_cache
+ +
+ +Introduced in Momentum 4.8. + +If set to `true`, the adaptive option values (typically message throttles) cached before a domain was suspended will be considered when it gets resumed (returns from suspension). It may be beneficial to set this to true if you want to avoid a domain being suspended over and over because of adaptive rules applied on default values. Default value is `false`. + +
+ ### Options That Affect Specific Domains @@ -1032,4 +1042,4 @@ Adjusting the format of this report by changing the parameters passed to the ad_ Log retention is enabled by default and uses the existing ec_rotate log rotation process. ec_rotate consults `ec_rotate.conf` to determine what and where to look for logs to rotate. For more information, see [“`ec_rotate.conf` File”](/momentum/4/log-rotating#conf.ref.ec_rotate.conf). -For the format of the adaptive log, see [“`adaptive` Log”](/momentum/4/adaptive-log-format). \ No newline at end of file +For the format of the adaptive log, see [“`adaptive` Log”](/momentum/4/adaptive-log-format). From eb318dd79e92606ce68c1ade6dc82326a4879e4e Mon Sep 17 00:00:00 2001 From: Douglas Koerich Date: Mon, 13 May 2024 17:36:04 -0300 Subject: [PATCH 2/4] EOP-143: Moving to alphabetic order Signed-off-by: Douglas Koerich --- content/momentum/4/modules/4-adaptive.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/momentum/4/modules/4-adaptive.md b/content/momentum/4/modules/4-adaptive.md index 0b6e93a5d..632e6b74a 100644 --- a/content/momentum/4/modules/4-adaptive.md +++ b/content/momentum/4/modules/4-adaptive.md @@ -354,29 +354,29 @@ Specify the name of the outbound throttle messages series. Default name is `OBTM -
split_logs_by_binding
+
resume_from_cache
-If split_logs_by_binding is `false`, then the log file used will be named `/var/log/ecelerity/adaptive/adaptive.log`. If this option is `true` then the log file(s) used will be named /var/log/ecelerity/adaptive/*`bindingname`*.log, where `bindingname` is replaced with the name of the binding with which the operational event is associated. Default value is `false`. +Introduced in Momentum 4.8. + +If set to `true`, the adaptive option values (typically message throttles) cached before a domain was suspended will be considered when it gets resumed (returns from suspension). It may be beneficial to set this to true if you want to avoid a domain being suspended over and over because of adaptive rules applied on default values. Default value is `false`.
-
suspend_sweep_interval
+
split_logs_by_binding
-Specify how often, in seconds, to perform a sweep that checks for expired suspensions and re-enable the affected binding::domain. Default value is `60` seconds. Set to `0` to disable. +If split_logs_by_binding is `false`, then the log file used will be named `/var/log/ecelerity/adaptive/adaptive.log`. If this option is `true` then the log file(s) used will be named /var/log/ecelerity/adaptive/*`bindingname`*.log, where `bindingname` is replaced with the name of the binding with which the operational event is associated. Default value is `false`.
-
resume_from_cache
+
suspend_sweep_interval
-Introduced in Momentum 4.8. - -If set to `true`, the adaptive option values (typically message throttles) cached before a domain was suspended will be considered when it gets resumed (returns from suspension). It may be beneficial to set this to true if you want to avoid a domain being suspended over and over because of adaptive rules applied on default values. Default value is `false`. +Specify how often, in seconds, to perform a sweep that checks for expired suspensions and re-enable the affected binding::domain. Default value is `60` seconds. Set to `0` to disable.
From d7b84194a62fa36e7eabc003941a5a889efeb254 Mon Sep 17 00:00:00 2001 From: Douglas Koerich Date: Tue, 14 May 2024 08:10:52 -0300 Subject: [PATCH 3/4] EOP-143: Formatting and rephrasing Signed-off-by: Douglas Koerich --- content/momentum/4/modules/4-adaptive.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/momentum/4/modules/4-adaptive.md b/content/momentum/4/modules/4-adaptive.md index 632e6b74a..0a7ecc0c8 100644 --- a/content/momentum/4/modules/4-adaptive.md +++ b/content/momentum/4/modules/4-adaptive.md @@ -358,9 +358,9 @@ Specify the name of the outbound throttle messages series. Default name is `OBTM
-Introduced in Momentum 4.8. +_Introduced in Momentum 4.8._ -If set to `true`, the adaptive option values (typically message throttles) cached before a domain was suspended will be considered when it gets resumed (returns from suspension). It may be beneficial to set this to true if you want to avoid a domain being suspended over and over because of adaptive rules applied on default values. Default value is `false`. +If set to `true`, the adaptive option values (typically message throttles) that were cached _before_ a domain was suspended will be considered when it gets resumed (returns from suspension). It may be beneficial to set this to __true__ if you want to avoid a domain being suspended over and over because of default values being applied. Default value is `false`.
From 1a82602dc152721bb27219deb16d252627ca94b8 Mon Sep 17 00:00:00 2001 From: Douglas Koerich Date: Tue, 14 May 2024 11:28:56 -0300 Subject: [PATCH 4/4] EOP-143: Changing option name for clarity Signed-off-by: Douglas Koerich --- content/momentum/4/modules/4-adaptive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/momentum/4/modules/4-adaptive.md b/content/momentum/4/modules/4-adaptive.md index 0a7ecc0c8..1f9f6e1c0 100644 --- a/content/momentum/4/modules/4-adaptive.md +++ b/content/momentum/4/modules/4-adaptive.md @@ -354,7 +354,7 @@ Specify the name of the outbound throttle messages series. Default name is `OBTM -
resume_from_cache
+
read_cache_after_suspension