You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2016/05/16 03:21:12 UTC
[jira] [Commented] (CASSANDRA-11753) cqlsh show sessions truncates
time_elapsed values > 999999
[ https://issues.apache.org/jira/browse/CASSANDRA-11753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284100#comment-15284100 ]
Stefania commented on CASSANDRA-11753:
--------------------------------------
The problem is that in _tracing.py_ we are only considering microseconds in the elapsed timedelta.
Here is the patch for 2.2+ (only one conflict from 3.0 -> 3.7):
||2.2||3.0||3.7||trunk||
|[patch|https://github.com/stef1927/cassandra/commits/11753-cqlsh-2.2]|[patch|https://github.com/stef1927/cassandra/commits/11753-cqlsh-3.0]|[patch|https://github.com/stef1927/cassandra/commits/11753-cqlsh-3.7]|[patch|https://github.com/stef1927/cassandra/commits/11753-cqlsh]|
|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11753-cqlsh-2.2-cqlsh-tests/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11753-cqlsh-3.0-cqlsh-tests/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11753-cqlsh-3.7-cqlsh-tests/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11753-cqlsh-cqlsh-tests/]|
[~thobbs] would you mind reviewing?
> cqlsh show sessions truncates time_elapsed values > 999999
> ----------------------------------------------------------
>
> Key: CASSANDRA-11753
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11753
> Project: Cassandra
> Issue Type: Bug
> Components: CQL, Observability, Testing, Tools
> Reporter: Jonathan Shook
> Assignee: Stefania
> Labels: lhf
>
> Output from show session in cqlsh:
> {quote}
> Submit hint for /10.255.227.20 [EXPIRING-MAP-REAPER:1] | 2016-05-11 15:57:53.730000 | 10.255.226.163 | 283246
> {quote}
> Output from select * from trace_events where session_id=(same as above):
> {quote}
> 1bbce5c0-1791-11e6-9598-3b9ec975a2e6 | 1ee37a20-1791-11e6-9598-3b9ec975a2e6 | Submit hint for /10.255.227.20 | 10.255.226.163 | 5283246 | EXPIRING-MAP-REAPER:1
> {quote}
> Notice that the 5 (seconds) part is being truncated in the output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)