From b339e456e46b5ea78aa0a4e27be725f5b230846b Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Thu, 8 Mar 2018 14:23:27 -0500 Subject: [PATCH] SPARK-624, Multiple subscriptions for the same topic now work. This was a scary one. --- src/lib/quickbus/routing/Router.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/quickbus/routing/Router.cpp b/src/lib/quickbus/routing/Router.cpp index dd4f3296b..b5afa484d 100644 --- a/src/lib/quickbus/routing/Router.cpp +++ b/src/lib/quickbus/routing/Router.cpp @@ -292,8 +292,8 @@ void Router::subscribe (NodeID const&sender, TableID const&tid,SubscriptionID co Update update; get_update_from_synopsis(tr->synopsis,&update); LOG(QBus,Diag, "{} sending synopsis for tid: {} sid: {} to nid: {} ", - id().value() , tid.value() , tr->sub_id.value() , sender.value()); - node->notify(me->my_id,tid,tr->sub_id,update); + id().value() , tid.value() , sid.value(),sender.value()); + node->notify(me->my_id,tid,sid,update); } } }