Open
Description
Issue
This is a bug or unexpected behaviour
Bug Report
Test for "Column Identity Usage" has 2 inconsistencies.
- If version is less then 10, it executes Assert-DatabaseDuplicateIndex which has no bearing on Identity column usage.
- The test compares the policy.identity.usagepercent value which defaults to 90 but the Test-DbaIdentityUsage function returns PercentUsed in decimal (e.g. 0.87 for 87%). Without changing the config value, the test will always return true.
General Troubleshooting steps
- Verified running the latest release of dbachecks?
[0.04 sec] > (Find-module dbachecks).Version -match (Get-Module dbachecks).Version.ToString()
True
Version Information
Code issue is version independent
Metadata
Assignees
Type
Projects
Status
No status
Activity