Create a cluster and start up the slon processes for each node, do not define any paths. Now add some paths with 'store path(....)' via slonik. Do NOT restart the slon processes, but do things that require using the paths (ie subscribe a set). Replication does not seem to happen, it seems that the slon process won't see the path until it restarts.
This problem has been observed following a CLONE PREPARE/CLONE FINISH. If you add paths between the new node and providers nothing happens. The issue seems to be that in slon the no_active attribute of the node structure is initialized to false in rtcfg_storeNode. The only places this is attribute is set to true are 1) On startup in SlonMain based on the value in sl_node 2) In response to an ENABLE_NODE event. I think the STORE_NODE event processing code should check the current status of sl_node to determine if the node is enabled or not.
Created attachment 45 [details] patch for bug 120
Created attachment 47 [details] new patch This patch replaces the previous patch. It directly addresses the CLONE NODE issue without having to change other parts of the code
Seems apropos to me.
This has been committed to master + REL_2_0_STABLE 66635a8138d6010024834a2416ee63337d366f69 0d1a293927805e5728c39f8000031bd698ab49c4