Skip to content

Conversation

@shiva-iyer-sh
Copy link
Contributor

Delete AG tasks on the secondary.

Delete AG tasks on the secondary.
);

insert into #dbs
select 'DBAdmin'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to hard code DBAdmin in here if it's not in the original script

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shiva-iyer-sh - i think this proc isn't creating jobs for ALL databases, this is scoped per database. So when you run this proc in DBAdminAG2 - it only creates tasks for DBAdminAG2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you looked at the flow of how/where this proc is called for each DBAdminAGX database

Copy link

@andrew-alumkal-sh andrew-alumkal-sh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is where changes are required. I beleive that changes are in the tsql job that calls this proc for each database

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.

2 participants