Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.15
-
None
-
Windows Server 2008 R2.
MySQL Connector Net 6.3.5 (MySQL Connector Net 6.9.11)
.net 4.5.
Description
После установки mariaDB 10.2.15 начала появляться ошибка:
MySql.Data.MySqlClient.MySqlException: Out of sync with server
Если сразу после ошибки дать повторный запрос - ошибки не будет. В интете не нашел ничего похожего на мой случай. Скрипты разные.
Ошибка не зависит от нагрузки (количества соединений). Она проявляется и ночью, когда нагрузка минимальная, и днем.
Допускаю, что ошибка не связана с версией, но, вроде, других изменений, которые могли привести к данной ошибке не было.
Attachments
Issue Links
- relates to
-
MDEV-21612 Remove COM_MULTI code from server
-
- Closed
-
-
MDEV-5122 "Commands out of sync", "Malformed packet" or client hang up on unique key violation
-
- Closed
-
Thank you for all work.
I want to do it. yes.
the problem is that the problem is not deterministic. on the same code it failed about 1/1000~ of the runs, so for repeat it I running a loop until it throwing the error.
the strage thing: I was saw the errors on my production (3 diffrent machines) but non on my development system.
I was upgraded the server to 10.4.10 some months ago, and after this upgrade (before it was 10.3.8) I see less error messages.
btw, I was saw a "better" error rate on this query, on a simple loop:
{{
/*CREATE TABLE `sites_addresses` (
`sa_id` int(11) NOT NULL AUTO_INCREMENT,
`sa_site` int(11) NOT NULL,
`sa_address` int(11) NOT NULL,
`sa_visible` tinyint(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`sa_id`),
UNIQUE KEY `site_address` (`sa_site`,`sa_address`),
KEY `sad_visible` (`sa_visible`,`sa_id`,`sa_site`,`sa_address`),
KEY `filter_visible` (`sa_address`,`sa_site`,`sa_visible`)
) ENGINE=InnoDB AUTO_INCREMENT=897110 DEFAULT CHARSET=utf8mb4;
*/
string sql = @"
insert into sites_addresses set sa_site=1218006, sa_visible=1, sa_address=66968 on duplicate key update sa_site=1218006, sa_visible=1, sa_address=66968; select sa_id from sites_addresses where sa_address=66968 and sa_site=1218006";
}}
the specific error message is diffrent:
`Packet received out-of-order. Expected 1; got 115., /Company/PostSite`
on the old testcase it was `got 84`.