bareos: master dd23af74

Author Committer Branch Timestamp Parent
Alaa Eddine Elamri arogge master 2023-05-19 18:01 master 74e8a178 Pending
Changeset consolidate.cc: keep keep original job data

when getting the client of the different jobs that need to be
consolidated, the `clientid` of the `job` record of the original
consolidation job gets overridden by that of the jobs being
consolidated. At the end of the operation, the name of the client of
the last job being treated persists as the original Consolidate job
client.

Other data also gets overridden, so the current fix saves the resource
and job record members of the OG Consolidation jcr before starting
the loop and brings them back during cleanup
mod - core/src/dird/consolidate.cc Diff File