]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_zone_features.h
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / rgw / rgw_zone_features.h
index b787ffc5a6bfa63a692e1ef6077a13f26cdda546..5e1a435d488e49c98bf5f2f29e1f62bcd043eeaf 100644 (file)
@@ -14,10 +14,12 @@ namespace rgw::zone_features {
 
 // zone feature names
 inline constexpr std::string_view resharding = "resharding";
+inline constexpr std::string_view compress_encrypted = "compress-encrypted";
 
 // static list of features supported by this release
 inline constexpr std::initializer_list<std::string_view> supported = {
   resharding,
+  compress_encrypted,
 };
 
 inline constexpr bool supports(std::string_view feature) {
@@ -29,6 +31,11 @@ inline constexpr bool supports(std::string_view feature) {
   return false;
 }
 
+// static list of features enabled by default on new zonegroups
+inline constexpr std::initializer_list<std::string_view> enabled = {
+  resharding,
+};
+
 
 // enable string_view overloads for find() contains() etc
 struct feature_less : std::less<std::string_view> {