Azure Devops - Change Automation - Release - Comparing data all of a sudden and no disk space
StefanZ
Posts: 7 Bronze 1
We use Azure Devops and have a Redgate SQL Change Automation: Release task (Task Version 4.*) which has been working fine for ages.
All of a sudden on Friday morning (4th September 2020 AEST), these tasks started failing, taking 16 to 20 hours, and seems to now be comparing data between the source artifact and the target database. Previously, the task was only ever comparing the Schema and applying schema changes.
Fails due to disk space, as it is obviously comparing millions of rows on the target database compared to no records in the build artifact.
Why is this all of a sudden comparing data in the release task? Did the "SaaS" automation task in DevOps change a minor version? Could not find anything in release notes. New options available to change so it does not compare data? A little bit scary if it automatically started to try and apply data changes also.
All of a sudden on Friday morning (4th September 2020 AEST), these tasks started failing, taking 16 to 20 hours, and seems to now be comparing data between the source artifact and the target database. Previously, the task was only ever comparing the Schema and applying schema changes.
Fails due to disk space, as it is obviously comparing millions of rows on the target database compared to no records in the build artifact.
Why is this all of a sudden comparing data in the release task? Did the "SaaS" automation task in DevOps change a minor version? Could not find anything in release notes. New options available to change so it does not compare data? A little bit scary if it automatically started to try and apply data changes also.
Answers
I have now checked it, saved, and released, and only takes a few minutes again. Is it possible to get some information please on the above checkbox, and when that was made live?
Kind regards.
To workaround this issue please specify a previous version of SCA PS on the Azure DevOps task (for example: 4.3.20234
"Ignore Static Data" causes SCA Powershell to not compare and sync Static Data, that's another viable workaround since this issue appears to be related to Static Data.
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
Any update on the progress of the investigation @Sergio R ?
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
- We see that a new version of SQL Change Automation was released yesterday -
4.3.20259 - September 15, 2020
Improvements:
- Updated SQL Compare Engine to 14.4.3.16730
Is this the fix to the problem?We have currently hardcoded all our releases to run on version 4.3.20234.
This issue has been fixed in the latest version of SQL Change Automation Powershell (4.3.20260).
This version is now available from the Powershell Gallery so if you set the task to use the latest version it should pick it up.
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
- Great!! thanks a lot