-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud_storage_clients
: add cloud_storage_backend::oracle
and fix s3_client::self_configure()
#22902
Changes from all commits
8039ed5
4921a32
229dc0d
70d88d5
b198688
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -468,7 +468,8 @@ enum class cloud_storage_backend { | |
google_s3_compat = 1, | ||
azure = 2, | ||
minio = 3, | ||
unknown = 4, | ||
oracle_s3_compat = 4, | ||
unknown | ||
Comment on lines
-471
to
+472
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are names or enum numeric values stored in the configuration system? if the later then it seems problematic to assign a different enum to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what i mean is: if the underlying numeric enum value is stored in the controller log, then it'd be a problem. does the controller log store the stringified name or the underlying numeric vavlue? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I now see the reason for concern though. Persisting this configuration in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks for looking! |
||
}; | ||
|
||
inline std::ostream& operator<<(std::ostream& os, cloud_storage_backend csb) { | ||
|
@@ -481,6 +482,8 @@ inline std::ostream& operator<<(std::ostream& os, cloud_storage_backend csb) { | |
return os << "azure"; | ||
case cloud_storage_backend::minio: | ||
return os << "minio"; | ||
case cloud_storage_backend::oracle_s3_compat: | ||
return os << "oracle_s3_compat"; | ||
case cloud_storage_backend::unknown: | ||
return os << "unknown"; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍