[MXS-32] bugzillaId-722: Readconnroute without router_options and no master fails to create new sessions Created: 2015-01-04  Updated: 2015-05-06  Resolved: 2015-03-19

Status: Closed
Project: MariaDB MaxScale
Component/s: Plugin, readconnroute
Affects Version/s: 1.0.5
Fix Version/s: 1.1.0

Type: Bug Priority: Minor
Reporter: markus makela Assignee: Timofey Turenko
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux



 Description   

This is imported from bugzilla item
http://bugs.mariadb.com/show_bug.cgi?id=722

Description Markus Mäkelä 2015-02-04 19:14:51 UTC
Created attachment 183 http://bugs.mariadb.com/attachment.cgi?id=183
Failing configuration

Quote from the readconnroute.c file:

> The router may also have options associated to it that will limit the
 > choice of backend server. Currently two options are supported, the "master"
 > option will cause the router to only connect to servers marked as masters
 > and the "slave" option will limit connections to routers that are marked
 > as slaves. If neither option is specified the router will connect to either
 > masters or slaves

.

With this assumption the Read Connection Router service from the attached configuration should work.

Currently if no router_options is defined, the default operation is to route to a master. If the service has no master servers, new session creation will fail.



 Comments   
Comment by markus makela [ 2015-03-19 ]

Readconnroute now accepts all running servers as valid candidates when no router_options are given.

Generated at Thu Feb 08 03:56:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.