bareos: bareos-17.2 4fe52fcd

Author Committer Branch Timestamp Parent
mvwieringen pstorz bareos-17.2 2017-06-28 19:41 bareos-17.2 b1babb6a Pending
Changeset cephfs: Don't reinitialize the connection to CEPH.

The plugin event bEventRestoreCommand is fired for each file we are
supposed to restore, currently we don't check if we already have setup
the connection to CEPH using the function connect_to_cephfs() and as
such we leak a set of socket connections for each file restored. This is
bad so lets properly check if things are already setup correctly.

For a backup we do the same e.g. check if p_ctx->cmount is not already
initialized.
mod - src/plugins/filed/cephfs-fd.c Diff File