Microsoft KB Archive/269697

= FIX: SPID Returns to ROLLBACK Status When You Cancel a SELECT Statement with a Parallel Plan =

Article ID: 269697

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q269697



BUG #: 58223(SQLBUG_70)



SYMPTOMS
When you cancel a query that is running a SELECT statement, which results in a parallel plan, the SPID may go into ROLLBACK status and never cancels. Any attempt to KILL the SPID is unsuccessful.

This bug only occurs on SMP servers. When this happens, you will observe the following symptoms:  The query never cancels. All locks held by the query are maintained. A SELECT * FROM sysprocesses (on the spid running the query) reports:

waittype      lastwaittype    status 0x0200        EXCHANGE        ROLLBACK

 Two SELECT cpu, physical_io FROM sysprocesses (on the spidrunning the query), spaced at least 15 minutes apart, reveal that the process' cpu and physical_io have not increased.



WORKAROUND
The only way to resolve this is to stop and restart the SQL Server service.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Additional query words: SELECT parallel parallelism cxpacket

Keywords: kbbug kbfix kbcodesnippet KB269697

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.