sysbench seems to not handle dns round-robin A records properly
Bug #1396651 reported by
Jay Janssen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysbench |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If I give sysbench a --mysql-host that is a DNS A record round-robin, it seems to always connect to one of them -- perhaps the first one in sorted order. I'd submit each thread should do a separate DNS lookup, and it should take the first record returned. Also, if a reconnection is in play, DNS should be re-checked.
Changed in sysbench: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
sysbench just calls mysql_real_ connect( ) with the the --mysql-host value as the 'host' argument.
Does the mysql command line client connects to different hosts on repeated invokations?