[MAGNOLIA-9097] Instances randomly fail to start up on fast machines Created: 20/Sep/23  Updated: 19/Jan/24  Resolved: 20/Oct/23

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.38
Fix Version/s: 6.2.40

Type: Bug Priority: Neutral
Reporter: Maxime Michel Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: VN-Testing
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 0.5d Time Spent: 0.5d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File Screenshot 2023-12-05 at 10.50.37.png    
Issue Links:
Cloners
is cloned by MAGNOLIA-9214 Instances randomly fail to start up o... Closed
Problem/Incident
Relates
relates to MAGNOLIA-6593 resource-loader module throws NPE upo... Closed
relates to MAGNOLIA-9259 Magnolia fails to start with error ’j... Open
relates to MGNLDIFF-146 Revise permissions to diff with modul... Closed
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-9134 Implementation Sub-task Completed Antonín Juran  
MAGNOLIA-9135 Review Sub-task Completed Jaromir Sarf  
MAGNOLIA-9136 Pre-integration QA Sub-task Completed Jaromir Sarf  
MAGNOLIA-9137 Final QA Sub-task Completed Quach Hao Thien  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Sprint: Nucleus 47
Story Points: 3
Team: Nucleus
Work Started:
Approved:
Yes

 Description   

USer Story: users are experiencing sporadic failures during the startup of Magnolia instances, specifically on faster machines. The issue is related to a delay in applying server configuration or order of applying certain part of the configuration. This started to appear after the upgrade to Magnolia version 6.2.38, although previous versions also can be affected

 

As described here: https://magnolia-cms.slack.com/archives/CC1GVEGFP/p1694701640514539

TL;DR (apchelintcev)

as I see it - the problem is that core brings in the correct server config, but there’s a 1 second gap before it is applied and new beans are produced on its basis, which may become visible on the newer/faster machines

re: fix - guess we could slash the delay during the install time to smth really small, and/or manually re-trigger the sensitive beans directly from core module installation phase

Dev note:

  • to reproduce the issue steadily change this delay to 5000.

Generated at Mon Feb 12 04:38:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.