-
Notifications
You must be signed in to change notification settings - Fork 225
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
xSQLServerAlwaysOnAvailabilityGroup: Add Database Level Health Detection, per database DTC support and improve BasicAvailabilityGroup #730
xSQLServerAlwaysOnAvailabilityGroup: Add Database Level Health Detection, per database DTC support and improve BasicAvailabilityGroup #730
Conversation
Improve the implementation of BasicAvailabilityGroup.
update the change log
Add an example script. Add parameters to Readme
… check Remove tabs from changelog
@mdaniou, |
Codecov Report
@@ Coverage Diff @@
## dev #730 +/- ##
====================================
+ Coverage 97% 97% +<1%
====================================
Files 30 30
Lines 3245 3255 +10
====================================
+ Hits 3160 3170 +10
Misses 85 85 |
Are you working on the failing tests? Let me know if you need help. |
Hi, yes it should be fine now. I need to fix the red lights. I didn't have much time to work on that the past days. |
@mdaniou No worries. Hope you get some time to get back to it soon. Love to get this in. :) |
@mdaniou Please let me know if you need any help with the tests. Happy to help. |
… to work with the changes on the resource
Sorry I am back into it. :) |
…had added for my tests
@mdaniou Awesome! Let me know if you need any help 😄 |
Review status: 3 of 8 files reviewed at latest revision, 23 unresolved discussions, some commit checks failed. CHANGELOG.md, line 6 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
There is still a typo in 'parameter'. :) CHANGELOG.md, line 9 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
Typo in 'enable'. Missing 'e'. Comments from Reviewable |
Reviewed 4 of 7 files at r2, 2 of 2 files at r3. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 72 at r1 (raw file):
I think the easiest for this PR is to change back the property name to the original
DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 129 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
You got a single quote after 'Group'. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 667 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
This should me changed back to
See previous comment. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 701 at r3 (raw file):
Please change to a comment block
DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 11 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
Yes, please submit an issue for this. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 13 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
You got a single quote after 'Group'. Comments from Reviewable |
Review status: 6 of 8 files reviewed at latest revision, 8 unresolved discussions. CHANGELOG.md, line 6 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. CHANGELOG.md, line 9 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 72 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 129 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 667 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 701 at r3 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 11 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 13 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 3 of 3 files at r4. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 13 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
Seems the single quote is still there :) Comments from Reviewable |
Review status: 7 of 8 files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 13 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. (for good !) Comments from Reviewable |
Review status: 7 of 8 files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.schema.mof, line 13 at r1 (raw file): Previously, mdaniou (Maxime Daniou) wrote…
Done. Comments from Reviewable |
Only a tiny thing left! After this I think we are good to go. 😄 Reviewed 1 of 1 files at r5. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 666 at r5 (raw file):
Ah, I missed this one. Can you remove the reference to edition here? Comments from Reviewable |
Review status: 7 of 8 files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 666 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r6. Comments from Reviewable |
@mdaniou Thanks for this! Awesome work! |
thanks :) |
Pull Request (PR) description
This PR is to implement the two new features in SQL Server 2016 :
DatabaseHealthTrigger : It is a boolean parameter. The resource will enable or disable it depending on its value
DtcSupportEnabled : It is a boolean parameter. The resource will enable it only as this feature can be configured at the creation of the Availability Group.
I have also figured that there was an issue with the feature :
BasicAvailabilityGroup :
The resource didn't allow us to disable the feature if we wanted because the check didn't take in account the fact that the parameter is a boolean.
This Pull Request (PR) fixes the following issues:
Fixes #721
Task list:
This change is