Problem with TransactionHandling:Autonomous folders and SQL Server #605
Unanswered
crimpeline
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having an issue with running grate in a SQL Server transaction with a mix of TransactionHandling:Autonomous and TransactionHandling:Default folders.
my folders.txt is like this:
When I run grate with '--trx false' it works fine and records the running of all scripts in the grate.ScriptsRun table. On subsequent runs only the scripts in Stored_Procedures which have changed are run.
But when I run it in a transaction with '--trx true', it only records the running of the scripts from the two TransactionHandling:Autonomous folders in the grate.ScriptsRun table. So on subsequent runs all scripts in the the AnyTime folder Stored_Procedures are run again even though they have not changed.
It also works fine when running with '--trx true' if all the folders are either TransactionHandling:Autonomous or TransactionHandling:Default. It is only when there is a mix that the script runs from the TransactionHandling:Default folders are not recorded in grate.ScriptsRun.
TIA for any help.
Beta Was this translation helpful? Give feedback.
All reactions