You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfnassert_in_tracing_table(session:&Session,tracing_uuid:Uuid){letmut traces_query = Query::new("SELECT * FROM system_traces.sessions WHERE session_id = ?");
traces_query.config.consistency = Some(Consistency::One);// Tracing info might not be immediately available// If rows are empty perform 8 retries with a 32ms wait in betweenfor _ in0..8{let rows_num = session
.query(traces_query.clone(),(tracing_uuid,)).await.unwrap().rows_num().unwrap();if rows_num > 0{// Ok there was some row for this tracing_uuidreturn;}// Otherwise retry
tokio::time::sleep(std::time::Duration::from_millis(32)).await;}// If all retries failed panic with an errorpanic!("No rows for tracing with this session id!");}
Perhaps Cassandra is too slow and needs more time for those entries to appear? We could increase sleep / retry amount here.
It failed twice in an unrelated pull request (#955).
Logs:
https://github.com/scylladb/scylla-rust-driver/actions/runs/8267645061
https://github.com/scylladb/scylla-rust-driver/actions/runs/8269633516
Example:
The text was updated successfully, but these errors were encountered: