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
This is a small suggestion for a user experience improvement. In Scylla 4.4.0, USING TIMEOUT syntax was introduced. However, if you want to execute query with per-query timeout in cqlsh, you must remember to change --request-timeout option:
$ cqlsh 127.0.0.2
cqlsh> SELECT COUNT(*) FROM ks.zrodlo USING TIMEOUT 20m;
OperationTimedOut: errors={'127.0.0.2': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.2
$ cqlsh 127.0.0.2 --request-timeout 1200
cqlsh> SELECT COUNT(*) FROM ks.zrodlo USING TIMEOUT 20m;
count
---------
9995165
(1 rows)
For better user experience, cqlsh could:
Give a better error message. Currently it prints:
OperationTimedOut: errors={'127.0.0.2': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.2
and there is no suggestion to use --request-timeout flag.
Automatically change client request timeout (or maybe ask the user if they want to change it). I am aware that to do this it could require parsing the query on the cqlsh side (so possibly not worth it).
/cc @psarna (only a suggestion, not that this is important)
The text was updated successfully, but these errors were encountered:
This is a small suggestion for a user experience improvement. In Scylla 4.4.0,
USING TIMEOUT
syntax was introduced. However, if you want to execute query with per-query timeout incqlsh
, you must remember to change--request-timeout
option:For better user experience,
cqlsh
could:and there is no suggestion to use
--request-timeout
flag.cqlsh
side (so possibly not worth it)./cc @psarna (only a suggestion, not that this is important)
The text was updated successfully, but these errors were encountered: