Skip to content

Conversation

@Spanyrd
Copy link

@Spanyrd Spanyrd commented Feb 27, 2020

Fix intermittent dependency problem during deployment of cortex-processing-webapp-msdeploy for Sitecore 9.1.0 - Sitecore 9.3.0 (XDB and XP)

Changed the dependency on
"name": "[concat(variables('cortexProcessingWebAppNameTidy'), '/', 'MSDeploy')]",

to
"[resourceId('Microsoft.Web/sites/config', variables('cortexReportingWebAppNameTidy'), 'appsettings')]"

also changed the dependency on
"name": "[concat(variables('cortexProcessingWebAppNameTidy'), '/', 'appsettings')]",

to
"[resourceId('Microsoft.Web/sites/extensions', variables('cortexProcessingWebAppNameTidy'), 'MSDeploy')]"

With this change we avoid intermittent Conflict errors (Race conditions) during the deployment of the /MsDeploy task because of a potential app pool recycle due to the /appsettings being deployed.

Updated the following files
Sitecore 9.1.0/XDB/nested/application-cortex-prc-rep.json
Sitecore 9.1.0/XP/nested/application-cortex-prc-rep.json
Sitecore 9.1.1/XDB/nested/application-cortex-prc-rep.json
Sitecore 9.1.1/XP/nested/application-cortex-prc-rep.json
Sitecore 9.2.0/XDB/nested/application-cortex-prc-rep.json
Sitecore 9.2.0/XP/nested/application-cortex-prc-rep.json
Sitecore 9.3.0/XDB/nested/application-cortex-prc-rep.json
Sitecore 9.3.0/XP/nested/application-cortex-prc-rep.json

Santin, Jose R added 2 commits February 27, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant