Skip to content

Commit 53dcb95

Browse files
Make ClusterCapabilities fields optional during rollout
1 parent 8e5ade5 commit 53dcb95

6 files changed

Lines changed: 84 additions & 107 deletions

File tree

gen/go/qdrant/cloud/cluster/v1/cluster.pb.go

Lines changed: 12 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/v1/cluster.swagger.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.py

Lines changed: 52 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.d.ts

Lines changed: 7 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/qdrant/cloud/cluster/v1/cluster.proto

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,8 @@ message ClusterState {
10641064
// If enabled, you can generate JWT tokens with fine-grained rules for access control.
10651065
bool jwt_rbac = 10;
10661066
// Specifies whether some operations are supported by cluster or not.
1067-
ClusterCapabilities capabilities = 11 [(buf.validate.field).required = true];
1067+
// Optional during rollout; will become required once all producers populate it.
1068+
ClusterCapabilities capabilities = 11;
10681069
}
10691070

10701071
// ClusterNodeInfo represents a node in a cluster.
@@ -1214,12 +1215,15 @@ message ClusterBackupSupportInfo {
12141215
message ClusterCapabilities {
12151216
// Whether the StorageClass used by the cluster supports disk expansion or not.
12161217
// Disk scaling will be enabled or disabled based on this for hybrid cloud clusters.
1217-
ClusterDiskExpansionSupportInfo disk_expansion = 1 [(buf.validate.field).required = true];
1218+
// Optional during rollout; will become required once all producers populate it.
1219+
ClusterDiskExpansionSupportInfo disk_expansion = 1;
12181220
// Whether it is possible to take a backup for the cluster or not.
12191221
// Backup tab will be shown or hidden based on this for hybrid cloud clusters.
1220-
ClusterBackupSupportInfo backup = 2 [(buf.validate.field).required = true];
1222+
// Optional during rollout; will become required once all producers populate it.
1223+
ClusterBackupSupportInfo backup = 2;
12211224
// Whether the cluster can be scaled up or down.
1222-
ClusterScalabilityInfo scalability_info = 3 [(buf.validate.field).required = true];
1225+
// Optional during rollout; will become required once all producers populate it.
1226+
ClusterScalabilityInfo scalability_info = 3;
12231227
}
12241228

12251229
// buf:lint:ignore QDRANT_CLOUD_REQUIRED_ENTITY_FIELDS

0 commit comments

Comments
 (0)