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

Log streamid at the trace level on sending request and receiving response

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Invalid
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Multiple requests are sent on the same connection and responses arrive in any order. It is hard to track single request/response pair even when the trace logs are turned on today because the trace logs only provide information up to connection as shown below. It will be super useful to also provide the streamid in the trace logs.

      2015/04/17 14:02:43.334 TRACE New I/O worker #447 com.datastax.driver.core.Connection - Connection[host1.domain.com/10.0.1.1:9042-1, inFlight=1, closed=false] request sent successfully
      2015/04/17 14:02:43.337 TRACE New I/O worker #447 com.datastax.driver.core.Connection - Connection[host1.domain.com/10.0.1.1:9042-1, inFlight=1, closed=false] received: ROWS [column1 (timeuuid)][value (blob)][writetime(value) (bigint)]

      streamid will be useful at-least in the 2 logs above. But if you know of other cases where it will be useful, please add it there as well.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vkasar Vishy Kasar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: