Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

CDC Capture and Cleanup job issue

$
0
0

I enabled CDC on my databae 'ABC' and turn on cdc on several tables. It worked fine for several days but couple of weeks ago I noticed that transactional log was full and cdc.ABC_cleanup job had error about transactional log full. I digged further and found that cdc.ABC_capture job was failing because of the error below.

Executed as user: SERVER\svc-SQL-DEV. The Log-Scan Process failed to construct a replicated command from log sequence number (LSN) {0003a770:000297db:008f}. Back up the publication database and contact Customer Support Services. [SQLSTATE 42000] (Error 18805) Log Scan process failed in processing log records. Refer to previous errors in the current session to identify the cause and correct any associated problems. [SQLSTATE 42000] (Error 22859) The statement has been terminated. [SQLSTATE 01000] (Error 3621)

I released some log space and restarted the cdc job and the error is gone. But couple of days ago I came across this issue again. Any idea why this is happening or any permanent workaround to this situation would be highly appreciated. Thanks


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>