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/05/13 20:20:15 UTC

[jira] [Created] (CASSANDRA-7222) cqlsh does not wait for tracing to complete before printing

Tyler Hobbs created CASSANDRA-7222:
--------------------------------------

             Summary: 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.9


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)