View Issue Details

IDProjectCategoryView StatusLast Update
0000546SymmetricDSBugpublic2014-08-28 01:02
ReporterAssigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Target Version3.4.0Fixed in Version3.4.0 
Summary0000546: Update of identical rows for a table not possible (no primary key and no uniqueness constraint)
Description"When you have a table that has no primary key and no uniqueness constraints on both target and source, you can end up having multiple identical rows in the table (no way to distinguish between the rows). Inserts in this scenario work fine, but when you update records on the source and have two or more identical rows in the tabe, one of two things happens on the destination: If you have two identical rows in the source, and dataloader.enable.fallback.insert = true, symmetric sends two update statements to the destination with all columns as the primary key. The first update statement runs on the destination and updates both rows (because the rows are identical). The second update runs on the destination, can't find a row to update (it was updated by the first update statement), so it falls back to an insert statement and inserts a third row on the destination. If you have two identical rows in the source, and dataloader.enable.fallback.insert = false, symmetric sends two update statements, but the first update fails with the following error: ""too many rows updated...."""
TagsNo tags attached.

Activities

elong

2014-02-04 16:17

developer   ~0000453

see trigger.sync_key_name

Issue History

Date Modified Username Field Change
2014-02-04 16:17 elong Note Added: 0000453
2014-02-04 16:17 elong Status new => resolved
2014-02-04 16:17 elong Fixed in Version => 3.4.0
2014-02-04 16:17 elong Resolution open => fixed
2014-02-04 16:17 elong Assigned To => elong
2014-08-28 01:02 chenson Status resolved => closed