-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 9.2.4, 9.2.7
-
Component/s: Deployments
-
None
-
6
-
Severity 2 - Major
-
42
Issue Summary
Bamboo startup might take several minutes to complete due to the large amount of time taken in trigger initialization process.
This looks like a ‘performance regression in Bamboo 9.2.4’ and a fix which is missing in the 9.2.4 version which was present in 9.2.3.
This is reproducible on Data Center: yes
Steps to Reproduce
- Start Bamboo instance with thousands of deployment environments
2. notice the time it takes to initialise triggers
Expected Results
The timing should not be significantly higher than Bamboo 9.2.3
Actual Results
The time to initialise trigges is much worse.
2023-11-22 19:24:14,843 INFO [main] [BootstrapLoaderListener] Starting Bamboo 9.2.7 (build #90206 Tue Nov 07 16:10:27 CET 2023) using Java 11.0.21 from Eclipse Adoptium
2023-11-22 19:25:00,318 INFO [main] [ServerLifecycleManagerImpl] Server state changed to 'STARTING' from 'SETUP'
2023-11-22 19:27:22,131 INFO [main] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'STARTING'
– 4 minutes 8 seconds
2023-11-22 19:27:22,131 INFO [main] [BambooContainer] Initializing triggers
2023-11-22 19:52:55,127 INFO [main] [BambooContainer] Triggers initialized in 25.55 min
2023-11-22 19:53:12,353 INFO [main] [BambooContainer] Bamboo version 9.2.7 initialised OK
– 25 minutes 45 seconds - Post running initalization
– Total from startup to available 29 minutes 53 seconds
2023-11-22 20:00:42,810 INFO [main] [BootstrapLoaderListener] Starting Bamboo 9.2.7 (build #90206 Tue Nov 07 16:10:27 CET 2023) using Java 11.0.21 from Eclipse Adoptium
2023-11-22 20:01:26,994 INFO [main] [ServerLifecycleManagerImpl] Server state changed to 'STARTING' from 'SETUP'
2023-11-22 20:04:45,822 INFO [main] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'STARTING'
– 4 minutes 48 seconds
2023-11-22 20:04:45,822 INFO [main] [BambooContainer] Initializing triggers
2023-11-22 20:29:50,428 INFO [main] [BambooContainer] Triggers initialized in 25.08 min
2023-11-22 20:29:55,527 INFO [main] [BambooContainer] Bamboo version 9.2.7 initialised OK
– 25 minutes 9 seconds - Post running initalization
– Total from startup to available 29 minutes 57 seconds
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available