Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ee25a7c

Browse files
bird-03Lacah
andauthoredOct 3, 2024
Sn instancescan ignorecache 002 (#117)
* Included new Instance scan check under category performance to validate if ''Run Business Rule' on Transform Map[sys_transform_map] is Disabled' * Included new instance scan check for system property table to inspect if 'Ignore Cache' option is set as True. Since it has potential of causing system wide performance impact. If ‘ignore_cache’ is unchecked, then the entire Glide System cache will be flushed when a property is changed. * This commit includes new instance scan created under 'Performance Category' to identify all those system property for which 'ignorecache' option is set as false. Ignorecache on sys_properties = False * This commit contains new instance scan check on system property[sys_properties] table to identify all properties that are flagged as Ignorecache = False * Update README.md Include a new instance scan under the Performance category to check 'Ignore Cache' = False on system property table * Delete ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt * Delete ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_f9f026c983cd92100283b955eeaad323.xml * Delete ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_cfe622458301d2100283b955eeaad366.xml --------- Co-authored-by: Laszlo <[email protected]>
1 parent 7e68567 commit ee25a7c

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed
 

‎README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,14 @@ Restrict the number of row counts ma x to 10,20,50 instead of higher limits such
232232
Navigate to the user preference <sys_user_preference> table and search by 'rowcount'. Set the value to 50 max.
233233
Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only
234234

235+
### Check System Property with 'Ignore cache' = False
236+
Ignore Cache is a Glide Properties (records in the sys_properties table) field that impacts system performance.When it’s not handled carefully it can cause a system-wide cache flush leading to potentially severe performance degradation for anywhere from 5 to 30 minutes.
237+
238+
[Ignore cache = False: This will trigger a full cache flush, which might result in performance issues, slowness, and in some cases outage of 5 to 30 mins.]
239+
240+
Select the check box to ignore flushing some server-side caches, thus flushing only the cache for the sys_properties table and preserving the prior property value in all other caches. This option avoids the performance cost of flushing all caches and retrieving new property values. Unless you have some very good reason that the entire system cache needs to be flushed when a Property is changed.
241+
242+
[ Ignore cache = True: An update or insert of a system property will rebuild ONLY for that particular sys_property cache (yes, it is not a full ignore) ]
235243

236244
## Category: Security
237245
##Check Mandatory fields on incident

‎ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
2+
<scan_table_check action="INSERT_OR_UPDATE">
3+
<active>true</active>
4+
<advanced>false</advanced>
5+
<category>upgradability</category>
6+
<conditions table="sys_properties">ignore_cache=false^EQ<item endquery="false" field="ignore_cache" goto="false" newquery="false" operator="=" or="false" value="false"/>
7+
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
8+
</conditions>
9+
<description>Ignore Cache is a Glide Properties (records in the sys_properties table) field that impacts system performance.When it’s not handled carefully it can cause a system-wide cache flush leading to potentially severe performance degradation for anywhere from 5 to 30 minutes. In some very rare cases, the cache flush can even bring nodes down hard enough that the load balancer takes them offline, thus resulting in temporary session imbalance and causing hours of impact.&#13;
10+
&#13;
11+
[Ignore cache = False: This will trigger a full cache flush, which might result in performance issues, slowness, and in some cases outage of 5 to 30 mins.]</description>
12+
<documentation_url/>
13+
<finding_type>scan_finding</finding_type>
14+
<name>Ignore Cache - System Property</name>
15+
<priority>2</priority>
16+
<resolution_details>Select the check box to ignore flushing some server-side caches, thus flushing only the cache for the sys_properties table and preserving the prior property value in all other caches. This option avoids the performance cost of flushing all caches and retrieving new property values. Unless you have some very good reason that the entire system cache needs to be flushed when a Property is changed&#13;
17+
&#13;
18+
Typically, you should only select the check box and enable ignoring the cache when you have a system property that changes more frequently than once a month.&#13;
19+
&#13;
20+
[ Ignore cache = True: An update or insert of a system property will rebuild ONLY for that particular sys_property cache (yes, it is not a full ignore) ]</resolution_details>
21+
<run_condition/>
22+
<score_max>100</score_max>
23+
<score_min>0</score_min>
24+
<score_scale>1</score_scale>
25+
<script><![CDATA[(function (engine) {
26+
27+
// Add your code here
28+
29+
})(engine);]]></script>
30+
<short_description>Check System Properties as 'Ignroecache' = False </short_description>
31+
<sys_class_name>scan_table_check</sys_class_name>
32+
<sys_created_by>a.pandey</sys_created_by>
33+
<sys_created_on>2024-10-03 14:40:05</sys_created_on>
34+
<sys_id>306c378183c5d2100283b955eeaad3f5</sys_id>
35+
<sys_mod_count>0</sys_mod_count>
36+
<sys_name>Ignore Cache - System Property</sys_name>
37+
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
38+
<sys_policy/>
39+
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
40+
<sys_update_name>scan_table_check_306c378183c5d2100283b955eeaad3f5</sys_update_name>
41+
<sys_updated_by>a.pandey</sys_updated_by>
42+
<sys_updated_on>2024-10-03 14:40:05</sys_updated_on>
43+
<table>sys_properties</table>
44+
<use_manifest>false</use_manifest>
45+
</scan_table_check>
46+
<sys_translated_text action="delete_multiple" query="documentkey=306c378183c5d2100283b955eeaad3f5"/>
47+
</record_update>

0 commit comments

Comments
 (0)
Please sign in to comment.