lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Mathieu Desnoyers via lttng-dev <lttng-dev@lists.lttng.org>
To: Sergei Dyshel <qyron.private@gmail.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: Have live session and rotation together
Date: Tue, 21 Apr 2020 10:23:03 -0400 (EDT)	[thread overview]
Message-ID: <211031090.61650.1587478983634.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <CAAeL1MEpwm_HgfJOXfZuoe=f9SbG+uTdcLSUeJAEFe9+hNyc-g@mail.gmail.com>

----- On Apr 20, 2020, at 4:17 PM, lttng-dev lttng-dev@lists.lttng.org wrote:

> Hi all,
> 
> When creating live session (lttng create --live) I can not enable rotation:
> 
> # lttng enable-rotation --size=10M
> Error: Failed to enable size-based rotation schedule on session BX

This is indeed the expected behavior.

> 
> In LTTNG 2.12 rotation is supported for network streaming mode  but it
> was not yet supported in 2.11.

I do not think this statement is factually correct. I recall that session
rotation was available for sessions being streamed over the network. What
makes you think otherwise ?

> 
> Is there architectural reasons why we can't have live session with rotation?
> Or is it just not implemented yet? In that case in what version is it
> expected to appear?

It is not impossible design-wise, but would make the implementation much more
complex and require a very significant testing effort.

Considering that there are few compelling use-cases for using both
features together, and no customer have expressed interest in this,
it is not part of our roadmap.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

  reply	other threads:[~2020-04-21 14:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 20:17 Sergei Dyshel via lttng-dev
2020-04-21 14:23 ` Mathieu Desnoyers via lttng-dev [this message]
2020-04-21 21:37   ` Sergei Dyshel via lttng-dev
2020-04-21 23:15     ` Mathieu Desnoyers via lttng-dev
2020-04-22 18:18       ` Sergei Dyshel via lttng-dev
2020-04-22 19:00         ` Mathieu Desnoyers via lttng-dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=211031090.61650.1587478983634.JavaMail.zimbra@efficios.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=qyron.private@gmail.com \
    --subject='Re: Have live session and rotation together' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).