Race Condition in ContentModelILCompiler.GetOrGenerate()

Found in

EPiServer.CMS.Core 11.20.5

Fixed in

EPiServer.CMS.Core 11.20.7

Created

Apr 23, 2021

Updated

Jun 16, 2021

Area

CMS Core

State

Closed, Fixed and tested


Description

Bug in the form of a race condition in

EPiServer.DataAbstraction.RuntimeModel.Internal.ContentModelILCompiler.GetOrGenerate().

The bug causes 500 Internal Server Errors for visitors on high volume sites during site startup.