[MXS-2745] User loading is limited at startup Created: 2019-10-29 Updated: 2020-06-01 Resolved: 2020-06-01 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Nedyalko Petrov (Inactive) | Assignee: | markus makela |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
SkySQL Dev/Test |
||
| Description |
|
Original title: SkySQL:Data inconcistencies observed in replicas after upgrade to maxscale:2.4.2 After upgrade from maxscale:2.3.9 to maxscale to maxscale:2.4.2 in SkySQL, we started observing replicas data inconsistencies in the scenario of topology initialization followed by immediate data load. Detail of these issues can be found here: We did a bit of a research on our end investigating possible root cause in various moving parts - test clusters/topologies setup , operator/K8s, etc. So far we tried a couple of suggestion from the MaxScale team :
Please advice, if you need further detail on the issue or any other form of support we can provide you with to speed up the resolution process |
| Comments |
| Comment by markus makela [ 2019-10-29 ] | |||
|
This might be caused by | |||
| Comment by Petko Vasilev (Inactive) [ 2019-10-29 ] | |||
|
Further investigation suggests that this bug is not caused by replication.
and then
I have no problems. If I do
It almost always fails the first 1 or 2 tries. I think this has something to do with auth/cred caching on the maxscale side. I don't know enough about it though. | |||
| Comment by markus makela [ 2019-10-29 ] | |||
|
It might be that MaxScale for some reason fails to fetch the authentication data from the backend servers. Does the MaxScale log contain any errors or messages when this happens? | |||
| Comment by Petko Vasilev (Inactive) [ 2019-10-30 ] | |||
|
And again, it only happens if I start the mysql client with the --database=a parameter. | |||
| Comment by markus makela [ 2019-10-30 ] | |||
|
I think there might be a problem where the user loading rate limit is triggered too early. If you add users_refresh_time=0 under the [maxscale] section, does it work? | |||
| Comment by Petko Vasilev (Inactive) [ 2019-10-30 ] | |||
|
users_refresh_time=0 seems to work, thank you. | |||
| Comment by markus makela [ 2019-10-30 ] | |||
|
From the documentation:
| |||
| Comment by markus makela [ 2019-10-30 ] | |||
|
This is still probably a bug in MaxScale and how it limits the user loading at startup. | |||
| Comment by markus makela [ 2020-06-01 ] | |||
|
There's already code in place that prevents the user loading rate limitation from triggerting shortly after startup which means this is most likely expected behavior and the rate limitation should be disabled. |