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
Remove-SqlDatabaseSafely fails to perform final drop w/ no addtl info #238
Comments
There is a write-exception in that Catch already. Can we reproduce so that I can have a look? |
mmmm so far, it's only failed at work so I can't paste screenshots, but it didn't report that it was writing to the exception log. I'll dig deeper tomorrow. |
Have an additional report:
|
Thank you I will take a look at that tomorrow and see if there is another way. Cant remember why I had the sleep in there in the first place. |
Did you see, Chris mentioned this potential fix https://files.slack.com/files-pri/T1LTZ0BQV-F2NJ2416G/pasted_image_at_2016_10_12_03_39_pm.png |
There is a bug Issue 238 #238 (comment) where Agent Jobs fail for lasrge databases so have altered the loop and the timeouts which wait for the agent job to complete
Sleeping for a few seconds to ensure the next step (DBCC) succeeds
The job shows as succeeded in Agent, but the database hasn't been dropped for a final time. Can we get a Write-Exception or is that not possible because it's something in Agent?
The text was updated successfully, but these errors were encountered: