Skip to content

Commit 2829de2

Browse files
authored
Added CLUSTER_PHASE_DELETING (#185)
Note we did not add CLUSTER_PHASE_DELETED, because we do not return deleted items.
1 parent 2643149 commit 2829de2

7 files changed

Lines changed: 30 additions & 13 deletions

File tree

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

Lines changed: 7 additions & 2 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,10 +892,11 @@
892892
"CLUSTER_PHASE_RECOVERY_MODE",
893893
"CLUSTER_PHASE_MANUAL_MAINTENANCE",
894894
"CLUSTER_PHASE_FAILED_TO_SYNC",
895-
"CLUSTER_PHASE_NOT_FOUND"
895+
"CLUSTER_PHASE_NOT_FOUND",
896+
"CLUSTER_PHASE_DELETING"
896897
],
897898
"default": "CLUSTER_PHASE_UNSPECIFIED",
898-
"description": "Defines the operational or transitional state of the Qdrant cluster.\n\n - CLUSTER_PHASE_UNSPECIFIED: The phase is unknown or not specified. Should not normally be used.\n - CLUSTER_PHASE_CREATING: The cluster is currently being created.\n - CLUSTER_PHASE_FAILED_TO_CREATE: The cluster creation process failed.\n - CLUSTER_PHASE_UPDATING: The cluster configuration is being updated.\n - CLUSTER_PHASE_FAILED_TO_UPDATE: The cluster update process failed.\n - CLUSTER_PHASE_SCALING: The cluster is undergoing scaling (up or down).\n - CLUSTER_PHASE_UPGRADING: The Qdrant version in the cluster is being upgraded.\n - CLUSTER_PHASE_SUSPENDING: The cluster is in the process of being suspended.\n - CLUSTER_PHASE_SUSPENDED: The cluster is currently suspended (inactive).\n - CLUSTER_PHASE_FAILED_TO_SUSPEND: The cluster suspension process failed.\n - CLUSTER_PHASE_RESUMING: The cluster is resuming from a suspended state.\n - CLUSTER_PHASE_FAILED_TO_RESUME: The cluster resumption process failed.\n - CLUSTER_PHASE_HEALTHY: The cluster is operational and healthy.\n - CLUSTER_PHASE_NOT_READY: The cluster is operational but not all components are ready or healthy.\n - CLUSTER_PHASE_RECOVERY_MODE: The cluster is in recovery mode, potentially after a failure.\n - CLUSTER_PHASE_MANUAL_MAINTENANCE: The cluster is under manual maintenance.\n - CLUSTER_PHASE_FAILED_TO_SYNC: There was an error syncing the cluster in the cloud provider region.\n - CLUSTER_PHASE_NOT_FOUND: The cluster was expected but not found in the cloud provider region."
899+
"description": "Defines the operational or transitional state of the Qdrant cluster.\n\n - CLUSTER_PHASE_UNSPECIFIED: The phase is unknown or not specified. Should not normally be used.\n - CLUSTER_PHASE_CREATING: The cluster is currently being created.\n - CLUSTER_PHASE_FAILED_TO_CREATE: The cluster creation process failed.\n - CLUSTER_PHASE_UPDATING: The cluster configuration is being updated.\n - CLUSTER_PHASE_FAILED_TO_UPDATE: The cluster update process failed.\n - CLUSTER_PHASE_SCALING: The cluster is undergoing scaling (up or down).\n - CLUSTER_PHASE_UPGRADING: The Qdrant version in the cluster is being upgraded.\n - CLUSTER_PHASE_SUSPENDING: The cluster is in the process of being suspended.\n - CLUSTER_PHASE_SUSPENDED: The cluster is currently suspended (inactive).\n - CLUSTER_PHASE_FAILED_TO_SUSPEND: The cluster suspension process failed.\n - CLUSTER_PHASE_RESUMING: The cluster is resuming from a suspended state.\n - CLUSTER_PHASE_FAILED_TO_RESUME: The cluster resumption process failed.\n - CLUSTER_PHASE_HEALTHY: The cluster is operational and healthy.\n - CLUSTER_PHASE_NOT_READY: The cluster is operational but not all components are ready or healthy.\n - CLUSTER_PHASE_RECOVERY_MODE: The cluster is in recovery mode, potentially after a failure.\n - CLUSTER_PHASE_MANUAL_MAINTENANCE: The cluster is under manual maintenance.\n - CLUSTER_PHASE_FAILED_TO_SYNC: There was an error syncing the cluster in the cloud provider region.\n - CLUSTER_PHASE_NOT_FOUND: The cluster was expected but not found in the cloud provider region.\n - CLUSTER_PHASE_DELETING: The cluster is being deleted."
899900
},
900901
"v1ClusterScalabilityInfo": {
901902
"type": "object",

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

Lines changed: 8 additions & 8 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.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class ClusterPhase(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
8484
CLUSTER_PHASE_MANUAL_MAINTENANCE: _ClassVar[ClusterPhase]
8585
CLUSTER_PHASE_FAILED_TO_SYNC: _ClassVar[ClusterPhase]
8686
CLUSTER_PHASE_NOT_FOUND: _ClassVar[ClusterPhase]
87+
CLUSTER_PHASE_DELETING: _ClassVar[ClusterPhase]
8788

8889
class ClusterNodeState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
8990
__slots__ = ()
@@ -145,6 +146,7 @@ CLUSTER_PHASE_RECOVERY_MODE: ClusterPhase
145146
CLUSTER_PHASE_MANUAL_MAINTENANCE: ClusterPhase
146147
CLUSTER_PHASE_FAILED_TO_SYNC: ClusterPhase
147148
CLUSTER_PHASE_NOT_FOUND: ClusterPhase
149+
CLUSTER_PHASE_DELETING: ClusterPhase
148150
CLUSTER_NODE_STATE_UNSPECIFIED: ClusterNodeState
149151
CLUSTER_NODE_STATE_STARTING: ClusterNodeState
150152
CLUSTER_NODE_STATE_HEALTHY: ClusterNodeState

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2221,6 +2221,13 @@ export enum ClusterPhase {
22212221
* @generated from enum value: CLUSTER_PHASE_NOT_FOUND = 17;
22222222
*/
22232223
NOT_FOUND = 17,
2224+
2225+
/**
2226+
* The cluster is being deleted.
2227+
*
2228+
* @generated from enum value: CLUSTER_PHASE_DELETING = 18;
2229+
*/
2230+
DELETING = 18,
22242231
}
22252232

22262233
/**

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

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ enum ClusterPhase {
746746
CLUSTER_PHASE_FAILED_TO_SYNC = 16;
747747
// The cluster was expected but not found in the cloud provider region.
748748
CLUSTER_PHASE_NOT_FOUND = 17;
749+
// The cluster is being deleted.
750+
CLUSTER_PHASE_DELETING = 18;
749751
}
750752

751753
// ClusterState represents the current state of a cluster

0 commit comments

Comments
 (0)