Bug #90765 | api node crashes under heavy connect disconnect | ||
---|---|---|---|
Submitted: | 5 May 2018 21:23 | Modified: | 7 Jun 2018 14:35 |
Reporter: | Gilad Odinak | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Cluster: NDB API | Severity: | S2 (Serious) |
Version: | 5.7.8 | OS: | CentOS |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[5 May 2018 21:23]
Gilad Odinak
[5 May 2018 22:52]
Gilad Odinak
Actually the problem seems to be that we never enter the above while block (which really is an if block) so a better fix is if (byteSize < keyInfoRemain*4) { setErrorCodeAbort(4000); return -1; } while (byteSize > keyInfoRemain*4) { ....
[6 May 2018 2:25]
Gilad Odinak
The crash happens when on entry to NdbOperation::insertKEYINFO_NdbRecord(const char *value,Uint32 byteSize) byteSize == 0 and keyInfoRemain == 0 and theLastKEYINFO == NULL This happen once per 140K queries on one node, and once per 1.8M queries on another noe.
[7 May 2018 14:35]
MySQL Verification Team
Hi, I'm having issue reproducing the problem. Do you have a reproducible case we can use? thanks Bogdan
[8 Jun 2018 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".