You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Roger Hernandez (JIRA)" <ji...@apache.org> on 2014/05/11 00:06:33 UTC

[jira] [Created] (CASSANDRA-7192) QueryTrace for a paginated query exists only for the first element of the list returned by getAllExecutionInfo()

Roger Hernandez created CASSANDRA-7192:
------------------------------------------

             Summary: QueryTrace for a paginated query exists only for the first element of the list returned by getAllExecutionInfo()
                 Key: CASSANDRA-7192
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7192
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: A Cassandra 2.0.6 cluster of 16 nodes running on Ubuntu 12.04.2 LTS, using the Java Driver in the client.
            Reporter: Roger Hernandez
            Priority: Minor


Within the Java Driver, with tracing enabled, I execute a large query that benefits from automatic pagination (with fetchSize=10).

I make sure to go through all of the ResultSet, and by the end of the query I call getAllExecutionInfo() on the ResultSet. This returns an ArrayList of 9 ExecutionInfo elements (the number of pages it requested from Cassandra).

When accessing the QueryTrace in the ExecutionInfo from the ArrayList at index 0, I can retrieve the information without issues. However, the first is the only one that has QueryTrace information, every other ExecutionInfo of the array returns a NULL QueryTrace object.



--
This message was sent by Atlassian JIRA
(v6.2#6252)