Closed ready4god2513 closed 7 years ago
Unfortunately I don't have exact steps to reproduce the error, but periodically my application will go into a fit of "short write" errors for all queries until the server is restarted. I do know that the IO package returns a "short write" error if a write accepted fewer bytes than requested but failed to return an explicit error. which I believe can happen inside of io.Copy, which is found here - https://github.com/ziutek/mymysql/blob/b559dddd7e2a2ce596f2058bc399805102719eac/native/packet.go#L119 and https://github.com/ziutek/mymysql/blob/b559dddd7e2a2ce596f2058bc399805102719eac/native/packet.go#L140
a write accepted fewer bytes than requested but failed to return an explicit error.
My question, and I am not 100% sure that the driver causes the error, but I had thought that possibly you had come across that error before and knew something about it. Any ideas?
Anyone?
:+1: this is happening a lot
Unfortunately I don't have exact steps to reproduce the error, but periodically my application will go into a fit of "short write" errors for all queries until the server is restarted. I do know that the IO package returns a "short write" error if
a write accepted fewer bytes than requested but failed to return an explicit error.
which I believe can happen inside of io.Copy, which is found here - https://github.com/ziutek/mymysql/blob/b559dddd7e2a2ce596f2058bc399805102719eac/native/packet.go#L119 and https://github.com/ziutek/mymysql/blob/b559dddd7e2a2ce596f2058bc399805102719eac/native/packet.go#L140My question, and I am not 100% sure that the driver causes the error, but I had thought that possibly you had come across that error before and knew something about it. Any ideas?