Project

General

Profile

Actions

Feature #853

closed

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

Added by Marc-Andre Laperle over 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Julien Desfossez
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
Actions

Also available in: Atom PDF