Project

General

Profile

Feature #853

Live session is listed by relayd after the session has been destroyed

Added by Marc-Andre Laperle over 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
10/30/2014
Due date:
% Done:

100%

Estimated time:

Description

I have a viewer (not babeltrace) connected to relayd using the live protocol and attached to a live session. The session is started then destroyed. Then I list the sessions again using the same viewer (LTTNG_VIEWER_LIST_SESSIONS) and it returns the destroyed session. If I try to attach to it, it returns a status LTTNG_VIEWER_ATTACH_ALREADY. I think this session should not be listed or there should be a status that indicates that the session doesn't exist anymore.


Files

relayd-log.txt (475 KB) relayd-log.txt Marc-Andre Laperle, 10/30/2014 05:15 PM
0001-Test-implement-a-command-to-detach-a-viewer-session.patch (4.01 KB) 0001-Test-implement-a-command-to-detach-a-viewer-session.patch Julien Desfossez, 11/18/2014 11:08 AM
0002-test-live-detach.patch (2.38 KB) 0002-test-live-detach.patch Julien Desfossez, 11/18/2014 11:08 AM

Also available in: Atom PDF