bareos: master cb3d0b37

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2016-05-14 19:13 master dbddf5b0 Pending
Changeset catalog: Lets pass on try_reconnect and exit_on_fatal

When implementing the new try_reconnect and exit_on_fatal flags to
workaround the fact that we handle a database shutdown badly I seem to
have forgotten to pass the arguments in all needed calls. This patch
fixes that.

From now on also most of the flags to instantiate a new connection to
the database need an explicit setting so we catch these kind of problems
in the future much easier. There is only one default left as last
argument to the function to get a new pooled or unpooled connection
which says if it should return a private database connection or not.
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/cats.c Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/stats.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File