stonedb icon indicating copy to clipboard operation
stonedb copied to clipboard

bug: ERROR 6 (HY000): An unknown system exception error caught.

Open haitaoguan opened this issue 1 year ago • 9 comments

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • [X] I confirm there is no existing issue for this

Describe the problem

###session1
mysql> create table ttt(id int,name varchar(5));
Query OK, 0 rows affected (0.02 sec)

mysql> begin;
Query OK, 0 rows affected (0.00 sec)

mysql> insert into ttt values(1,'AAA');
Query OK, 1 row affected (0.01 sec)

mysql> insert into ttt values(2,'BBB');
Query OK, 1 row affected (0.00 sec)

mysql> select * from ttt;
+------+------+
| id   | name |
+------+------+
|    1 | AAA  |
|    2 | BBB  |
+------+------+
2 rows in set (0.00 sec)

###session2
[root@test ~]# ps -ef|grep mysqld
mysql    19392  2626 22 15:02 ?        00:01:57 /opt/stonedb57/install//bin/mysqld --basedir=/opt/stonedb57/install
[root@test ~]# kill -9 19392

###session3
mysql> select * from ttt;
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> select * from ttt;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    12
Current database: db

ERROR 6 (HY000): An unknown system exception error caught.

Expected behavior

No response

How To Reproduce

No response

Environment

./mysqld Ver 5.7.36-StoneDB-v1.0.3 for Linux on x86_64 (build-) build information as follow: Repository address: https://github.com/stoneatom/stonedb.git:stonedb-5.7-dev Branch name: stonedb-5.7-dev Last commit ID: 31919be Last commit time: Date: Thu Apr 20 10:19:54 2023 +0800 Build time: Date: Sun Apr 23 12:03:01 CST 2023

Are you interested in submitting a PR to solve the problem?

  • [X] Yes, I will!

haitaoguan avatar Apr 24 '23 07:04 haitaoguan