Loading...
Loading...
Problem: In cases where a large amount of records are created at the same time across nodes of an instance, contention can arise in how numbers are generated for the sys_number definition for a table. This is typically only seen when trying to insert a very high count of records into the same table in a short period of time. This issue has been observed on Raptor DB more frequently than it has been observed on MariaDB. Fix for customers on Zurich release: If you are facing this on a specific tables, you can enable the fix by adding those tables (comma separated) to this glide property (may need to be created) glide.db.atomic_counter_included Example: Name: glide.db.atomic_counter_included Value: task,incident,problem Ignore Cache: true NOTE: For instances on Zurich release, please note PRB1952804 Counters that start at 0 or a negative number are not supported and should use the legacy counter if they start at these values. This issue is fixed as of the Australia release. Fix for customers on Australia release: This property can be created in the sys_properties table: Name: glide.db.atomic_counter_all Value: true Ignore Cache: True NOTE: (This is already enabled for zbooted instances on Australia and later)
The following script can reproduce noticeable latency if it is run on multiple nodes at the same time. NOTE: This script should only be run in subproduction environments as it will increment the number counter. var nm = new NumberManager("task"); for (var i=0; i < 10000; i++) { nm.getNextObjNumberPadded(); } Workaround n/a
PRB1855792
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.