Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
sp_BlitzIndex is blocked by index rebuilds on an identity column due to bug in sys.identity_columns #2176
Version of the script
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
Then in another window, try to query sys.identity_columns with dirty reads:
(I know, those two isolation level hints are redundant, just being clear that nothing you ask for will get you past the blocking on sys.identity_columns.) Reproduced on SQL Server 2017 CU 17 (14.0.3238.1.)
What is the expected behavior?
Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
I reported the bug to Microsoft: https://feedback.azure.com/forums/908035-sql-server/suggestions/38897821-bug-in-sys-identity-columns-does-not-honor-read-u