[MXS-38] bugzillaId-688: Incorrect backend state leads to confusing and untraced client errors Created: 2015-01-08 Updated: 2016-02-04 Resolved: 2016-02-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.0.3 |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Massimiliano Pinto (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
All OS |
||
| Description |
|
This is imported from bugzilla item: Description Kolbe Kegel 2015-01-08 22:44:19 UTC
Nothing is logged in this situation in the MaxScale error log or message log and nothing relevant seems to be written to the trace log, either:
I think it would be good if this kind of anomaly were noted in the error log as well as the trace log. An failed attempt to connect to a server is a serious problem, since it means that the server state in MaxScale doesn't match reality. Ideally, a better error message could be given by MaxScale to the client, too. It appears that the connection is simply severed without giving any information at all. |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2015-03-10 ] | |||||||||||||||||||||||||||||||||||||||||
|
This is comments history improted from bugzilla: Comment 1 Kolbe Kegel 2015-01-08 22:52:10 UTC
And here is the "real" state of the services:
Comment 2 Mark Riddoch 2015-02-13 10:22:18 UTC Comment 3 Kolbe Kegel 2015-02-13 16:52:17 UTC Since the monitors' functionality are limited, there are some situations when a user may need to work without a monitor and inform MaxScale manually about the state of servers. This bug is related to a problem found when using that workflow. | |||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2015-05-04 ] | |||||||||||||||||||||||||||||||||||||||||
|
I tried this with MaxScale 1.1 and the behavior is as expected. If the servers are down but MaxScale still sees them as running, all connections hang. This only happens if there are no monitors and the server states are set manually. I could not reproduce the disconnecting behavior when server states are set manually. I did notice that if a connection to a server is made while MaxScale sees it in a running state and in reality it is down, it hangs. If the server is then set into a failed state manually through MaxAdmin, current connections aren't severed to that server even though they should be. | |||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2016-02-04 ] | |||||||||||||||||||||||||||||||||||||||||
|
Based on the testing done with 1.1 MaxScale is working as intended. |