Skip to content

Remove AG secondary databases where allow connections is off#2

Open
bwiggin10 wants to merge 1 commit intoLitKnd:mainfrom
bwiggin10:patch-1
Open

Remove AG secondary databases where allow connections is off#2
bwiggin10 wants to merge 1 commit intoLitKnd:mainfrom
bwiggin10:patch-1

Conversation

@bwiggin10
Copy link

This fixes issue #1 by removing databases on AG secondaries where allow connections is off, but differs from their mentioned code as this still maintains compatability for readable secondary replicas that have query store enabled.

(Credit to Andy Mallon / First Responder Kit for the original code)

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