Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

CDC Control Task: "Timeout expired" (when TransactionOption is Required)

$
0
0

I am doing incremental load using CDC and want to implement transaction rollback in case of any task failure including CDC control task in package.

To complete 'Get Processing Range' and 'Marked Processed Range', two CDC control tasks are added into a Sequence Container, if TransactionOption is 'Supported' (default) for the container, everything works fine. However, if TransactionOption is 'Required' on the other hands, the 'Marked Processed Range' will fail raising '[CDC Control Task] Error: "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.".
Based on tracing, the following statement is suspending.
(@name nvarchar(16))SELECT count(*) FROM [dbo].[cdc_states] WHERE Upper([name]) = Upper(@name)


Viewing all articles
Browse latest Browse all 24688

Trending Articles