[MDEV-4443] Cassandra SE: ERROR 1928 (HY000): Internal error: 'Thrift exception: Called write on non-open socket' Created: 2013-04-26  Updated: 2013-05-28  Resolved: 2013-05-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.1
Fix Version/s: 10.0.3

Type: Bug Priority: Major
Reporter: Mihail Karp Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: cassandra
Environment:

ubuntu 12.04 x64, M* 10.0.1



 Description   

to reproduce:
create tbl (...) engine=cassandra ...
use tbl;
select smth from tbl;

/restart cassandra/

try to repeat last query:
ERROR 1928 (HY000): Internal error: 'Thrift exception: write() send(): Broken pipe'
ERROR 1928 (HY000): Internal error: 'Thrift exception: Called write on non-open socket'

restart mysql service fixes problem.

socket leak?
and seems affected 10.0.2 too (at least looking in sources).



 Comments   
Comment by Elena Stepanova [ 2013-04-26 ]

Does FLUSH TABLES help, by any chance?

Comment by Mihail Karp [ 2013-04-26 ]

yep
flush tables do same think as restart daemon

Comment by Elena Stepanova [ 2013-04-26 ]

It might be reasonable then, but I'll forward it to Sergei to confirm (or to see if anything can/should be done about it).

Comment by Sergei Petrunia [ 2013-05-28 ]

Fixed. Cassandra SE had a feature that would retry failed calls, but it only handled Cassandra's errors errors. Now, it handles network disconnects, also.

Generated at Thu Feb 08 06:56:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.