[MXS-3312] MaxScale not allowing login and sometimes crashes when cache server not available Created: 2020-12-02  Updated: 2020-12-21  Resolved: 2020-12-04

Status: Closed
Project: MariaDB MaxScale
Component/s: cache
Affects Version/s: 2.5.5
Fix Version/s: 2.5.6

Type: Bug Priority: Major
Reporter: Todd Stoffel (Inactive) Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MXS-3313 MaxScale cache must use timeout when ... Closed
is blocked by MXS-3316 Redis cache storage must be disabled ... Closed

 Description   

When using the new distributed cache feature on a remote host, it requires that MaxScale is able to reach that host via a network connection.

In the case of Redis, let's say the endpoint is mcsredis.nafwoo.0001.usw2.cache.amazonaws.com and the port is 6379.

However, if that endpoint and/or port is not reachable due to network outage or firewall/security rules, MaxScale becomes unresponsive and occasionally crashes.

This will likely be a blocker to a planned "Turbo" version of SkySQL in AWS.

It should probably check for connectivity and default to "in memory" or no cache during this kind of situation.


Generated at Thu Feb 08 04:20:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.