forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were a lot of places where the code would make two calls into the StorageProvider -- one for the dest bucket and one for source. Some -- but not all -- of the calls were guarded by a "SrcMatchesDest" check to prevent an extra call. This checkin moves most of the calls into a single method that will check the two buckets and perform the proper checks. Also, makes sure the storage provider and log controller are deleted prior to the cloud env completely being deleted. This can help guard against some cases where the provider attempts to access some cloud env resources during detruction.
- Loading branch information
1 parent
d82aa33
commit 002a4eb
Showing
3 changed files
with
138 additions
and
83 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