Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix intermittent dependency problem during deployment of cortex-proce… #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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