Daniel-Constantin Mierla writes:
maybe we should introduce a log_level parameter for
mysql and the other
db modules that can be controlled via config/rpc.
i don't know if that would help, since these errors are reported at ERR
level.
On the other hand, I still have some items in to-do
list for the module.
The idea is to disable a connection if a query fails and try to
reconnect either upon a rpc command or after some time or a number
skipped queries. At that time the error should appear only once, at the
moment the problem is detected, eventually repeating from time to time
when the module tries to auto-reconnect. Other suggestions are welcome,
of course!
that sounds like like a good solution. i would prefer automatic
reconnect try periodically, because rpc command needs some external
watcher that triggers it.
-- juha