Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
2.3.16
-
MXS-SPRINT-99, MXS-SPRINT-101
Description
It looks like: https://jira.mariadb.org/browse/MXS-2408
Is still on 2.3.16:
2020-01-23 15:42:15 error : (872) Lost connection to the master server 'server', closing session. Lost connection to master server while waiting for a result. Connection has been idle for 0.0 seconds. Error caused by: #HY000: Lost connection to backend server: network error. Last close reason: <none>
Attachments
Issue Links
- relates to
-
MXS-2408 MaxScale 2.3.4 logs "Lost connection to the master server, closing session." although no network problem
-
- Closed
-
Since this was on MaxScale 2.3.16 which has the improved error logging, we know this event wasn't generated by MaxScale (no (Generated event) after the network error part). This means that it is not a regression of
MXS-2408orMXS-2410and it is in fact a real network error event.The connection idle time calculation could be wrong if a network input event (EPOLLIN) occurs at the same time that a network error does (EPOLLERR). Currently the idle time is unconditionally updated whenever network input events arrive. By updating the idle time only when data is successfully read, we should be able to preserve the real idle time of the connection.