Fix: sessiond: application channel creation failure stops start cmd
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Oct 2019 20:56:22 +0000 (16:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Oct 2019 20:56:22 +0000 (16:56 -0400)
The creation of an application's channel can fail when, for instance,
a context can't be created. This causes applications that would have
been started _after_ it to never be started.

This keeps the iteration going on error and starts all applications
that could be started. This is more in line with the behaviour of
2.10 (and earlier) since those channel creations would occur as
applications registered and not on tracing "start".

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.c

index 47cda24517da22ad53a899892562f660e71e8e32..c03772842b88e39976716c7c9f926217d2668e04 100644 (file)
@@ -4212,7 +4212,7 @@ int ust_app_create_channel_glb(struct ltt_ust_session *usess,
                        if (session_was_created) {
                                destroy_app_session(app, ua_sess);
                        }
-                       goto error_rcu_unlock;
+                       /* Continue to the next application. */
                }
        }
 
This page took 0.027984 seconds and 4 git commands to generate.