BUG: Shared Intent Lock Acquired by READTEXT Are Not Released

Last reviewed: July 30, 1997
Article ID: Q171867
The information in this article applies to:
  • Microsoft SQL Server, version 6.5 Service Pack 3
BUG #: 16961 (NT: 6.5)

SYMPTOMS

Shared intent locks taken during a READTEXT operation are not released, even after the READTEXT completes. A process that tries to get an exclusive table lock may be blocked by this sh_intent lock.

WORKAROUND

To avoid blocking, minimize requests for exclusive table locks on this table. Testing has shown that any command issued after the READTEXT will cause the sh_intent lock to be released.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5 Service Pack 3. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Trace flag 1200 shows that the sh_intent is acquired but is not being released. Only processes requesting an exclusive table lock will be blocked. This problem occurs only on SQL Server build 6.5.252 and Service Pack 3. In testing, a SELECT @@spid was issued following the READTEXT operation from the same connection. This seemed to clear the sh_intent lock, and was also verified with trace flag 1200.


Additional query words: block sp sp3
Keywords : kbbug6.50.sp3 SSrvBCP SSrvGen SSrvLock kbusage
Version : 6.5 SP3
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.