forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloud_storage: make remote_path_provider harder to copy around
The fact that we can copy around path providers is potentially error-prone and confusing. The primary path provider meant to be used by most subsystems (i.e. the archival metadata STM) may not be clear if callers end up making copies. This removes most special constructors, and exposes an explicit copy() method to force callers to think twice before copying. The only existing callsite where such a copy happens has been updated to use this method. This is review follow-up to redpanda-data#20778
- Loading branch information
Showing
3 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters