[MXS-361] crash on backend restart if persistent connections are in use Created: 2015-09-10 Updated: 2015-11-27 Resolved: 2015-11-27 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | galeramon |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Timofey Turenko | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
1. Create 75 connections to each service: RW split, ReadConn master, ReadConn slave with Master/Slave backend, RW split with Galera backend 4. Check logs and cores Expected results: no crash Actual result: crash during Maxscale restart (gdb) bt |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2015-09-10 ] |
|
tturenko Please attach config file and log files. Also state which branch build did you use ? |
| Comment by Timofey Turenko [ 2015-09-10 ] |
|
no need to restart Maxscale, it is enough to stop and restart backend nodes. Configuration of backend: [server1] [server2] [server3] [server4] |
| Comment by Timofey Turenko [ 2015-09-10 ] |
|
The number "75 connections": it is a bit bigger, then Maxscale can process: last two connections generate error: 2015-09-10 17:08:27 Error : Invalid authentication message from backend. Error code: 1040, Msg : Too many connections [gw_read_backend_handshake] and queries won't go through these connections: Error: can't execute SQL-query: select 1; Query failed! |
| Comment by Dipti Joshi (Inactive) [ 2015-09-11 ] |
|
tturenko, Massimiliano Pinto Is this in progress ? |
| Comment by Johan Wikman [ 2015-09-14 ] |
|
Was this on |
| Comment by Timofey Turenko [ 2015-09-14 ] |
|
reproducible only if persistent connections feature is enabled |
| Comment by Timofey Turenko [ 2015-09-14 ] |
|
tested with 'develop' branch |
| Comment by martin brampton (Inactive) [ 2015-09-16 ] |
|
Persistent connections development was carried further in |
| Comment by Dipti Joshi (Inactive) [ 2015-11-24 ] |
|
tturenko, martin brampton Since |
| Comment by Johan Wikman [ 2015-11-24 ] |
|
According to Timofey this is dependent upon the galera monitor fix. |
| Comment by Timofey Turenko [ 2015-11-27 ] |
|
test PASSED, closing |