Have controller ignore any notices starting with "kid_", per a report from the field.
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 16 Feb 2015 20:07:01 +0000 (15:07 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 16 Feb 2015 20:07:01 +0000 (15:07 -0500)
Not sure how this is happening exactly, but cleaning up the listen/notify system is on the todo

Bucardo.pm

index e1fe8d03abaedda4ba8f965ea1caf626c91c42b7..79cb50a7b5bf1bb8a50fe823bb0798e558c95fb4 100644 (file)
@@ -2241,6 +2241,10 @@ sub start_controller {
                 or
                 (index($name, 'stopsync_') == 0);
 
+
+            ## Ignore any messages sent to a kid
+            next NOTICE if 0 == index($name, 'kid_');
+
             ## Should not happen, but let's at least log it
             $self->glog("Warning: received unknown message $name from $npid!", LOG_TERSE);