Repository: qpid-dispatch Updated Branches: refs/heads/ADDR-DROP [created] d239fa4ec
Added some log statements to see which addresses are being deleted Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/d239fa4e Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/d239fa4e Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/d239fa4e Branch: refs/heads/ADDR-DROP Commit: d239fa4ec59f7f7e0d06034ba613e83a72c88202 Parents: 3ad1011 Author: Ganesh Murthy <[email protected]> Authored: Wed Sep 5 17:02:18 2018 -0400 Committer: Ganesh Murthy <[email protected]> Committed: Wed Sep 5 17:02:18 2018 -0400 ---------------------------------------------------------------------- src/router_core/connections.c | 1 + src/router_core/route_tables.c | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/d239fa4e/src/router_core/connections.c ---------------------------------------------------------------------- diff --git a/src/router_core/connections.c b/src/router_core/connections.c index 786877e..144b7de 100644 --- a/src/router_core/connections.c +++ b/src/router_core/connections.c @@ -1053,6 +1053,7 @@ void qdr_check_addr_CT(qdr_core_t *core, qdr_address_t *addr, bool was_local) // if (was_local && DEQ_SIZE(addr->rlinks) == 0) { const char *key = (const char*) qd_hash_key_by_handle(addr->hash_handle); + qd_log(core->log, QD_LOG_INFO, "************qdr_check_addr_CT Mobile address %s is being removed*****************", key); if (key && (*key == QD_ITER_HASH_PREFIX_MOBILE || *key == QD_ITER_HASH_PREFIX_EDGE_SUMMARY)) qdr_post_mobile_removed_CT(core, key); } http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/d239fa4e/src/router_core/route_tables.c ---------------------------------------------------------------------- diff --git a/src/router_core/route_tables.c b/src/router_core/route_tables.c index 3072496..c18eb9e 100644 --- a/src/router_core/route_tables.c +++ b/src/router_core/route_tables.c @@ -731,6 +731,7 @@ static void qdr_do_mobile_removed(qdr_core_t *core, qdr_general_work_t *work) { char *address_hash = qdr_field_copy(work->field); if (address_hash) { + qd_log(core->log, QD_LOG_INFO, "Actually removing address in qdr_do_mobile_removed"); core->rt_mobile_removed(core->rt_context, address_hash); free(address_hash); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
