View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002461 | SymmetricDS | Bug | public | 2015-12-04 17:00 | 2025-04-16 17:44 |
Reporter | chenson | Assigned To | |||
Priority | normal | ||||
Status | closed | Resolution | duplicate | ||
Product Version | 3.7.27 | ||||
Summary | 0002461: When auto.registration=true and external.id.is.unique.enabled=false new nodes get registered overtop of old nodes | ||||
Description | When auto.registration=true and external.id.is.unique.enabled=false new nodes get registered overtop of old nodes. Whenever external.id.is.unique.enabled=false new nodes should get a new node_id. | ||||
Tags | registration | ||||
|
Just took a look at the source and it looks like the DefaultNodeIdCreator specifically skips adding a sequence number to the node_id if auto registration is enabled. Since an existing node_id is then returned, openRegistration then calls reOpenRegistration. So looks like it's intentional, but counter to the documentation? I know in my current use case, adding a sequence number during auto registration would be preferable, but maybe a parameter could decide it? I could also just write my own naming extension as suggested. See line 87 of /symmetric-core/src/main/java/org/jumpmind/symmetric/util/DefaultNodeIdCreator.java |
|
From duplicate issue: "Allow 2 nodes with the same external id to register concurrently. If two nodes come in and register at the same time with the same external id the same node id records are delivered to both nodes. The registration process should probably lock a registration for several minutes before allowing other nodes to attempt to use it." |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-04 17:00 | chenson | New Issue | |
2015-12-04 22:34 | cineterrix | Note Added: 0000739 | |
2019-04-23 20:38 | elong | Tag Attached: registration | |
2019-04-26 14:28 | elong | Note Added: 0001447 | |
2025-04-16 17:43 | pmarzullo | Relationship added | related to 0004073 |
2025-04-16 17:44 | pmarzullo | Status | new => closed |
2025-04-16 17:44 | pmarzullo | Resolution | open => duplicate |