[ 
https://issues.apache.org/jira/browse/CASSANDRA-20099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910498#comment-17910498
 ] 

lanqing yang edited comment on CASSANDRA-20099 at 1/7/25 5:45 AM:
------------------------------------------------------------------

[~bschoeni] you are right the python driver just dedupe the trace results. I 
probably need to look deeper to prevent spawning multiple traces on the 
database side.

I just tested java driver has the same problem.


was (Author: lyang24):
[~bschoeni] you are right the python driver just dedupe the trace results. I 
probably need to look deeper to prevent spawning multiple traces on the 
database side.

> Fix TRACING when PAGING so it doesn't repeat the tracing multiple times
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-20099
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20099
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Priority: Low
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.1
>
>         Attachments: image-2025-01-05-18-11-31-612.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When paging is used, the trace is repeated multiple times.  For example,
> {quote}> PAGING 2
> > TRACING ON
> > select * from system_schema.columns LIMIT 10;
> {quote}
> Also, for consistency with the other ON/OFF flags used with Paging, the 
> Capture message should be updated as below.  This could work well if it *used 
> on_off_switch_with_value,* but that only has OFF & Value and would need to be 
> tweaked to support a string value.
>  * Capture is ON, writing to '/tmp/output'
>  * Capture set to OFF
>  * Capture is OFF



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to