bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Mon May 17 07:07:43 PDT 2010
http://www.slony.info/bugzilla/show_bug.cgi?id=123

           Summary: Adding a node shortly after deleting it causes 'node
                    -1 not found'
           Product: Slony-I
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: low
         Component: slon
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: ssinger at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


This test was performed on a 5 node cluster  with 2.0.x (CVS)

1=====>2
\\
 \\
  3=====>5
   \\
    4

A subscription set was subscribed to all nodes.

Then 
-The slon for node 4 was killed
-Node 4 was dropped from replication, with node 1 being the event node
-A 'store node(id=4,event node=3) was executed  + add paths
-The slon for node 4 was started
-Node 4 is subscribed to the set coming from node 3.


The slon for node 4 encounters

Received event #1 from 5000000049 type:ENABLE_SUBSCRIPTION
2010-05-17 09:41:51 EDTINFO   copy_set 1 - omit=f - bool=0
2010-05-17 09:41:51 EDTINFO   omit is FALSE
2010-05-17 09:41:51 EDTERROR  remoteWorkerThread_1: provider node -1 for set
1not found in runtime configuration


The sl_event table on node 4 contains


4 5000000001  STORE_PATH
1 5000000048  SYNC
5 5000000004  SYNC
3 5000000011  STORE_NODE
3 5000000012  ENABLE_NODE
3 5000000013  STORE_PATH
3 5000000014  SUBSCRIBE_SET (3,4)
3 5000000015  SYNC
4 5000000002  SYNC
1 5000000049  ENABLE_SUBSCRIPTION  (3,4)

Slon seems to be processing the ENABLE_SUBSCRIPTION that is marked as having an
ev_origin of node 1 (the set origin) before the SUBSCRIBE_SET (having an
ev_origin of node 3, the provider)

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list