View Issue Details

IDProjectCategoryView StatusLast Update
0006091SymmetricDSBugpublic2023-11-15 18:20
Reporterjkeyne Assigned To 
Prioritynormal 
Status closedResolutionno change required 
Product Version3.15.0 
Summary0006091: Sometimes when registering nodes, another node loses its registration
DescriptionWhile registering more than 3 nodes, occasionally one or more nodes will lose their registration. The logs seem to say that while another node is being registered, a foreign key violation is detected on `sym_node`. In an attempt to resolve it, the node deletes a row from `sym_node_security`, however the row it ends up deleting is its own row, thus removing its own password and causing the node to unregister itself.

I originally noticed this while running symmetrcids 3.14.3, but I upgraded to 3.15.0 and was still able to replicate the issue. I've tried re-registering the node, but usually that causes a different node to lose its registration afterwards.

I'm attaching logs with debugging enabled. The logs show an attempt at registering 5 nodes. Shortly after registering the 5th node (m-site5) at 2023-10-30 17:41:30,984, the 2nd node (m-site2) experiences the issue beginning at 2023-10-30 17:42:22,452. Also, here's a table briefly describing each node:

| Server name | node id | group id | engine id | log path |
| ---------------------------------------- | ------- | --------- | ----------- | ------------------- |
| Site1 (master node) | m-site1 | g-m-site1 | eng-m-site1 | Site1/symmetric.log |
| Site2 (the node that loses registration) | m-site2 | g-m-site2 | eng-m-site2 | Site2/symmetric.log |
| Site3 | m-site3 | g-m-site3 | eng-m-site3 | Site3/symmetric.log |
| Site4 | m-site4 | g-m-site4 | eng-m-site4 | Site4/symmetric.log |
| Site5 | m-site5 | g-m-site5 | eng-m-site5 | Site5/symmetric.log |
TagsNo tags attached.

Activities

jkeyne

2023-11-03 18:56

reporter  

Debuglogs.zip (4,219,627 bytes)

emiller

2023-11-08 18:57

developer   ~0002395

Does the issue still occur if you set the following parameter to false and disable sync_on_incoming on your triggers?

auto.sync.configuration.on.incoming=false

jkeyne

2023-11-08 20:42

reporter   ~0002396

Setting that parameter seems to fix it. Just did a quick test where I was able to add 8 servers successfully.

Issue History

Date Modified Username Field Change
2023-11-03 18:56 jkeyne New Issue
2023-11-03 18:56 jkeyne File Added: Debuglogs.zip
2023-11-08 18:57 emiller Status new => feedback
2023-11-08 18:57 emiller Note Added: 0002395
2023-11-08 20:42 jkeyne Note Added: 0002396
2023-11-08 20:42 jkeyne Status feedback => new
2023-11-15 18:20 cquamme Status new => closed
2023-11-15 18:20 cquamme Resolution open => no change required