You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/07/29 18:13:39 UTC
[jira] [Issue Comment Deleted] (CASSANDRA-7626) Tracing problems
with 2.1 cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-7626:
--------------------------------------
Comment: was deleted
(was: What is "the microseconds issue?")
> Tracing problems with 2.1 cqlsh
> -------------------------------
>
> Key: CASSANDRA-7626
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7626
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Priority: Minor
> Fix For: 2.1.0
>
>
> If some replicas continue doing work after the coordinator responds to the client (e.g. writing at CL.ONE with RF=3), those trace events will not have a source_elapsed field, leading to the following error in cqlsh:
> {noformat}
> Traceback (most recent call last):
> File "bin/cqlsh", line 822, in onecmd
> self.handle_statement(st, statementtext)
> File "bin/cqlsh", line 863, in handle_statement
> return self.perform_statement(cqlruleset.cql_extract_orig(tokens, srcstr))
> File "bin/cqlsh", line 898, in perform_statement
> print_trace_session(self, self.session, stmt.trace.trace_id)
> File "/srv/cassandra/bin/../pylib/cqlshlib/tracing.py", line 25, in print_trace_session
> rows = fetch_trace_session(trace)
> File "/srv/cassandra/bin/../pylib/cqlshlib/tracing.py", line 54, in fetch_trace_session
> event.source_elapsed.microseconds])
> AttributeError: 'NoneType' object has no attribute 'microseconds'
> {noformat}
> If the trace wasn't fully written within the driver's 2 second waiting period, you'll get this error:
> {noformat}
> Traceback (most recent call last):
> File "bin/cqlsh", line 822, in onecmd
> self.handle_statement(st, statementtext)
> File "bin/cqlsh", line 863, in handle_statement
> return self.perform_statement(cqlruleset.cql_extract_orig(tokens, srcstr))
> File "bin/cqlsh", line 898, in perform_statement
> print_trace_session(self, self.session, stmt.trace.trace_id)
> AttributeError: 'NoneType' object has no attribute 'trace_id'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)