You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/08/15 23:41:20 UTC
[jira] [Commented] (CASSANDRA-7222) cqlsh does not wait for tracing
to complete before printing
[ https://issues.apache.org/jira/browse/CASSANDRA-7222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099199#comment-14099199 ]
Tyler Hobbs commented on CASSANDRA-7222:
----------------------------------------
+1, but I would go with 10 seconds instead of 3 (to match the default in 2.1).
> cqlsh does not wait for tracing to complete before printing
> -----------------------------------------------------------
>
> Key: CASSANDRA-7222
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7222
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Tyler Hobbs
> Assignee: Mikhail Stepura
> Fix For: 2.0.10
>
> Attachments: CASSANDRA-2.0-7222.patch
>
>
> cqlsh currently sleeps 0.5 seconds before fetching trace info. Instead, it should fetch the {{system_traces.sessions}} row in a loop until the {{duration}} column is set (maybe with a total timeout of 30s). After the {{duration}} column is set, it's safe to fetch the rows from {{system_traces.events}}.
> This is already fixed in 2.1 by the switch to the python driver, we just need to fix 2.0.
--
This message was sent by Atlassian JIRA
(v6.2#6252)