slave config file option max-reconnects doesn't work

Bug #956200 reported by Daniel Nichter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Committed
Medium
Unassigned

Bug Description

max-reconnects specified in the slave config file does not work. It seems the code only uses the default 10.

To reproduce:

[master1]
master-user=slave1
master-pass=wrong_password
max-reconnects=2

Start slave, see in error log:

Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)
Replication slave: Access denied for user 'slave1' (using password: YES)

Related branches

Changed in drizzle:
importance: Undecided → Medium
status: Confirmed → In Progress
assignee: nobody → Daniel Nichter (daniel-nichter)
milestone: none → 7.2.1
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

The linked branch makes io-thread-sleep and seconds-between-reconnects per-master options, so http://docs.drizzle.org/replication/appliers/slave/configuration.html#configuring-a-slave will need to be updated.

Changed in drizzle:
status: In Progress → Fix Committed
Changed in drizzle:
assignee: Daniel Nichter (daniel-nichter) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.