Unknown slave config file options crash Drizzle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Wrong, bad, unknown, misplaced, etc. config file options in a slave config file cause the slave plugin to crash Drizzle at startup.
To reproduce:
1. Use a config file like:
seconds-
max-reconnects=2
[master1]
master-
master-user=slave1
master-pass=foo
master-port=3001
(max-reconnects is misplaced).
2. Start Drizzle and observe it fold like a lawn chair:
terminate called after throwing an instance of 'boost:
what(): unknown option max-reconnects
120315 11:15:35 - drizzled got signal 6;
Suggested fix: catch errors, print errors, let Drizzle start.
Workaround: fix the slave config file.
See also #935950.