Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7222

cqlsh does not wait for tracing to complete before printing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.10
    • Legacy/Tools
    • None
    • Normal

    Description

      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.

      Attachments

        1. CASSANDRA-2.0-7222.patch
          4 kB
          Mikhail Stepura

        Activity

          People

            mishail Mikhail Stepura
            thobbs Tom Hobbs
            Mikhail Stepura
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: