Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backupccl: always track opened writer
Previously we would do things -- like wrap the opened writer with an encryption shim -- after opening the writer but before storing it in the sink. This could mean that if the sink opened a writer, but failed to save it, and was then closed it would fail to close the writer. This changes that, so that as soon as the writer is opened it is saved and then if it is later wrapped, saved again, to ensure that we cannot lose track of any successfully opened writer. Fixes: #103597. Release note: none.
- Loading branch information