<div dir="ltr">Hi<div>If a process want to monitor the other nodes up/down, it should call the 'net_kernel:monitor_nodes' interface. And the process could receive the nodeup/nodedown message.</div><div><br></div><div>However, the global_name_server has not called 'net_kernel:monitor_nodes', but still can receive the nodeup/nodedown message. How could this happen ?</div><div><br></div><div>Furthermore, consider the situation below.</div><div>There is node A, node B and node C connected, and node D try to connect the Node B. I traced the message of global_name_server on node D, and found that {nodeup B} is processed firstly,  a serial of global names exchange operation messages followed, the {nodeup A} and {nodeup C} is processed lastly. These messages stack is showed below:</div><div><br></div><div>[{'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {<b><i>nodeup</i></b>,'<a href="mailto:c@192.168.2.20">c@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>','<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>','<a href="mailto:c@192.168.2.20">c@192.168.2.20</a>'],<br>     []},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {<b><i>nodeup</i></b>,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>','<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'],<br>     []},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {rem_lock,'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [{global,[<7817.41.0>,<0.41.0>]},<0.41.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {added,['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>','<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>','<a href="mailto:c@192.168.2.20">c@192.168.2.20</a>']},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [{new_nodes,['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>','<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>','<a href="mailto:c@192.168.2.20">c@192.168.2.20</a>']},<br>      {abcast,[]},<br>      {ops,<br>          [{insert,{'10_test',<8199.87.0>,#Fun<global.0.107123556>}},<br>           {insert,{'11_test',<8199.88.0>,#Fun<global.0.107123556>}},<br>           {insert,{'12_test',<8199.89.0>,#Fun<global.0.107123556>}},<br>           {insert,{'13_test',<8199.90.0>,#Fun<global.0.107123556>}},<br>           {insert,{'14_test',<8199.91.0>,#Fun<global.0.107123556>}},<br>           {insert,{'15_test',<8199.92.0>,#Fun<global.0.107123556>}},<br>           {insert,{'16_test',<8199.93.0>,#Fun<global.0.107123556>}},<br>           {insert,{'17_test',<8199.94.0>,#Fun<global.0.107123556>}},<br>           {insert,{'18_test',<8199.95.0>,#Fun<global.0.107123556>}},<br>           {insert,{'19_test',<8199.96.0>,#Fun<global.0.107123556>}},<br>           {insert,{'20_test',<8199.97.0>,#Fun<global.0.107123556>}},<br>           {insert,{'1_test',<8199.78.0>,#Fun<global.0.107123556>}},<br>           {insert,{'2_test',<8199.79.0>,#Fun<global.0.107123556>}},<br>           {insert,{'3_test',<8199.80.0>,#Fun<global.0.107123556>}},<br>           {insert,{'4_test',<8199.81.0>,#Fun<global.0.107123556>}},<br>           {insert,{'5_test',<8199.82.0>,#Fun<global.0.107123556>}},<br>           {insert,{'6_test',<8199.83.0>,#Fun<global.0.107123556>}},<br>           {insert,{'7_test',<8199.84.0>,#Fun<global.0.107123556>}},<br>           {insert,{'8_test',<8199.85.0>,#Fun<global.0.107123556>}},<br>           {insert,{'9_test',<8199.86.0>,#Fun<global.0.107123556>}}]}]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {kill_resolver,'<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [-576460752303423488,<0.71.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['9_test',<8199.86.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['8_test',<8199.85.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['7_test',<8199.84.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['6_test',<8199.83.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,246000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['5_test',<8199.82.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['4_test',<8199.81.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['3_test',<8199.80.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['2_test',<8199.79.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['1_test',<8199.78.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['20_test',<8199.97.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['19_test',<8199.96.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['18_test',<8199.95.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['17_test',<8199.94.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['16_test',<8199.93.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['15_test',<8199.92.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['14_test',<8199.91.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['13_test',<8199.90.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['12_test',<8199.89.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['11_test',<8199.88.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_name,'<a href="mailto:a@192.168.2.20">a@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     ['10_test',<8199.87.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {exit_resolver,'<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [-576460752303423488]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {locker_succeeded,'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     {[],[]}},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,231000},<br>     {ins_lock,'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [{global,[<7817.41.0>,<0.41.0>]},<0.41.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,12000},<br>     {new_resolver,'<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     [-576460752303423488,<0.71.0>]},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601184,12000},<br>     {<b><i>nodeup</i></b>,'<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'},<br>     ['<a href="mailto:b@192.168.2.20">b@192.168.2.20</a>'],<br>     []},<br> {'<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>',<br>     {1584,601148,148000},<br>     {nodes_changed,{['<a href="mailto:d@192.168.2.20">d@192.168.2.20</a>'],[nonode@nohost]}},<br>     [],[]},<br> {nonode@nohost,{1584,601147,633000},{init,nonode@nohost},[],[]}]<br></div><div><br></div><div>Why the message of {nodup A/B} is received last ? In my opinion, these two messages could appear anywhere, and may impact the operation of global names exchange. In fact, it's not, the  global names exchange could be operated rightly.</div><div><br></div><div>Could anybody help me ? </div><div><br></div></div>