1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-4443: Cassandra SE: ERROR 1928 (HY000): Internal error: 'Thrift exception: Called write on non-open socket'

- Made call re-try system also handle network disconnects (it will reconnect before retrying)
- Added Cassandra_network_exceptions counter.
- @@cassandra_failure_retries is now always honored.
This commit is contained in:
Sergey Petrunya
2013-05-28 12:38:22 +04:00
parent 08ce9bfe05
commit c00a37d113
5 changed files with 120 additions and 19 deletions

View File

@ -10,7 +10,15 @@ if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'cassand
drop table if exists t0, t1;
--enable_warnings
# Test various errors on table creation.
--echo #
--echo # Check variables and status counters
--echo #
show status like 'cassandra%';
show variables like 'cassandra%';
--echo #
--echo # Test various errors on table creation.
--echo #
--error ER_REQUIRES_PRIMARY_KEY
create table t1 (a int) engine=cassandra
thrift_host='localhost' keyspace='foo' column_family='colfam';