HandlerSocket is a NoSQL plugin for MySQL, working as a daemon inside the mysqld process, to accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries; instead it supports simple CRUD operations on tables.
Other
1.13k
stars
150
forks
source link
libhsclient: fix socket read: don't fail on EINTR #110
I had the same error as in #74 and after a bit of debugging strace showed me that read returned EINTR (which means that read syscall was interrupted by random signal like SIGPROF and did not really fail, it just needs to be called again) and libhsclient mistakenly reported it as eof.
I had the same error as in #74 and after a bit of debugging
strace
showed me thatread
returnedEINTR
(which means thatread
syscall was interrupted by random signal likeSIGPROF
and did not really fail, it just needs to be called again) and libhsclient mistakenly reported it aseof
.