Hi Aaron Wong
We have internally reviewed the case and also connected with you to investigate further. Based on our discussion and testing, the issue was resolved by updating the checkpoint value used in your metadata/control table. After adjusting the checkpoint, the pipelines started running successfully without triggering the cdc.fn_cdc_get_net_changes
error.
This indicates that the issue was likely due to the checkpoint pointing to an invalid or expired LSN range, which caused the CDC function to receive incomplete parameters during execution. Once the checkpoint was corrected, ADF was able to fetch the valid LSN window and resume CDC operations as expected.
Changing the checkpoint value fixed the issue, and the pipeline is now working consistently. The customer confirmed there are no further issues.
As a best practice, we recommend tracking and persisting the start_lsn
and end_lsn
values for each successful run, so that recovery is smoother in case of unexpected failures or state mismatches in future runs.
Hope this helps. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.