I have enabled CDC that enabled capture and cleanup job in SQL Server agent. When I am seeing the logs of the job I am seeing the below error,
The procedure sys.sp_MScdc_capture_job
is throwing maximum stored procedure nesting level exceed
. I have checked all documentation and could not found why this error happening.
if you working with SQL Server 2017 then you must install Cumulative Update 4 for SQL Server 2017.