-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken pipe when killing a client #44
Comments
This is the schema for it (to load using cqlsh): USE examples; CREATE TABLE songs ( |
client side: Server side: |
In CREATE TABLE statement in 'tags' column definition 'set' should have an elements' type definition, e.g. set. |
The exact cut&paste string is here: https://github.com/cloudius-systems/urchin/wiki/Using-example-perf.c-from-the-cpp-driver |
When process() terminated _ready_to_respond contains the future with the state of the last I/O operation of this connection. Consume it at the end of process(). Fixes issue #44 Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
The exceptional future that had been ignored was the one stored in _ready_to_respond. The solution is to return it from transport::cql_server::connection::process(). |
* tools/cqlsh 2254e920...66ae7eac (5): > switch from `ssl_options` to `ssl_context` > cqlsh should use cql v4 by default when connecting scylladb#44 > Revert "Skip pp38-macosx wheel builds" > update to newer cibuildwheel > Skip pp38-macosx wheel builds
When running scylla head (095c2f2) using posix and testing
it against the datastax cpp driver with example/perf I got a broken pipe when the client was ctrl-c
To compile the client, download https://github.com/datastax/cpp-driver ,
build it (cmake) plus build the perf example gcc perf.c -o p -lcassandra -luv -L../../build -I../../include/
Results:
WARNING: exceptional future ignored of type 'std::system_error': Error system:32 (Broken pipe)
The text was updated successfully, but these errors were encountered: