View Issue Details

IDProjectCategoryView StatusLast Update
0002461SymmetricDSBugpublic2021-03-10 11:38
Reporterchenson Assigned To 
Prioritynormal 
Status newResolutionopen 
Product Version3.7.27 
Summary0002461: When auto.registration=true and external.id.is.unique.enabled=false new nodes get registered overtop of old nodes
DescriptionWhen 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.
Tagsregistration

Activities

cineterrix

2015-12-04 22:34

reporter   ~0000739

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

elong

2019-04-26 14:28

developer   ~0001447

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."

Issue History

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