最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

aws dms - AWS DMS Full Load + CDC Error on resuming a stopped task ongoing CDC replication - Stack Overflow

matteradmin4PV0评论

I am using AWS DMS to migrate data from sql server to postgres in Full Load + CDC mode. My full load was finished and CDC was ongoing and I stopped the CDC task to start it after a couple of days.

After I started the same task after a couple of days, my task failed and is still failing. The logs indicate the following error for all the tables :

select OBJECTPROPERTY(id, 'TableHasPrimaryKey') from sysobjects where id = ?

SOURCE_CAPTURE : For all the tables, it fails further by logging "failed in checling PK presence for table identified by id)

my source sql server database has not changed in terms of primary key constraints. I did add primary keys to target postgres database after CDC is finished.

But the task and the query is still pointing to failure to read primary key from source database.

Post a comment

comment list (0)

  1. No comments so far