@@ -6,26 +6,21 @@ package qdrant;
66option csharp_namespace = "Qdrant.Client.Grpc" ;
77
88service CollectionsInternal {
9- /*
10- Get collection info
11- */
12- rpc Get (GetCollectionInfoRequestInternal ) returns (GetCollectionInfoResponse ) {}
13- /*
14- Initiate shard transfer
15- */
16- rpc Initiate (InitiateShardTransferRequest ) returns (CollectionOperationResponse ) {}
17- /**
18- Wait for a shard to get into the given state
19- */
20- rpc WaitForShardState (WaitForShardStateRequest ) returns (CollectionOperationResponse ) {}
21- /*
22- Get shard recovery point
23- */
24- rpc GetShardRecoveryPoint (GetShardRecoveryPointRequest ) returns (GetShardRecoveryPointResponse ) {}
25- /*
26- Update shard cutoff point
27- */
28- rpc UpdateShardCutoffPoint (UpdateShardCutoffPointRequest ) returns (CollectionOperationResponse ) {}
9+ // Get collection info
10+ rpc Get (GetCollectionInfoRequestInternal )
11+ returns (GetCollectionInfoResponse ) {}
12+ // Initiate shard transfer
13+ rpc Initiate (InitiateShardTransferRequest )
14+ returns (CollectionOperationResponse ) {}
15+ // Wait for a shard to get into the given state
16+ rpc WaitForShardState (WaitForShardStateRequest )
17+ returns (CollectionOperationResponse ) {}
18+ // Get shard recovery point
19+ rpc GetShardRecoveryPoint (GetShardRecoveryPointRequest )
20+ returns (GetShardRecoveryPointResponse ) {}
21+ // Update shard cutoff point
22+ rpc UpdateShardCutoffPoint (UpdateShardCutoffPointRequest )
23+ returns (CollectionOperationResponse ) {}
2924}
3025
3126message GetCollectionInfoRequestInternal {
@@ -34,25 +29,35 @@ message GetCollectionInfoRequestInternal {
3429}
3530
3631message InitiateShardTransferRequest {
37- string collection_name = 1 ; // Name of the collection
38- uint32 shard_id = 2 ; // Id of the temporary shard
32+ // Name of the collection
33+ string collection_name = 1 ;
34+ // Id of the temporary shard
35+ uint32 shard_id = 2 ;
3936}
4037
4138message WaitForShardStateRequest {
42- string collection_name = 1 ; // Name of the collection
43- uint32 shard_id = 2 ; // Id of the shard
44- ReplicaState state = 3 ; // Shard state to wait for
45- uint64 timeout = 4 ; // Timeout in seconds
39+ // Name of the collection
40+ string collection_name = 1 ;
41+ // Id of the shard
42+ uint32 shard_id = 2 ;
43+ // Shard state to wait for
44+ ReplicaState state = 3 ;
45+ // Timeout in seconds
46+ uint64 timeout = 4 ;
4647}
4748
4849message GetShardRecoveryPointRequest {
49- string collection_name = 1 ; // Name of the collection
50- uint32 shard_id = 2 ; // Id of the shard
50+ // Name of the collection
51+ string collection_name = 1 ;
52+ // Id of the shard
53+ uint32 shard_id = 2 ;
5154}
5255
5356message GetShardRecoveryPointResponse {
54- RecoveryPoint recovery_point = 1 ; // Recovery point of the shard
55- double time = 2 ; // Time spent to process
57+ // Recovery point of the shard
58+ RecoveryPoint recovery_point = 1 ;
59+ // Time spent to process
60+ double time = 2 ;
5661}
5762
5863message RecoveryPoint {
@@ -67,7 +72,10 @@ message RecoveryPointClockTag {
6772}
6873
6974message UpdateShardCutoffPointRequest {
70- string collection_name = 1 ; // Name of the collection
71- uint32 shard_id = 2 ; // Id of the shard
72- RecoveryPoint cutoff = 3 ; // Cutoff point of the shard
75+ // Name of the collection
76+ string collection_name = 1 ;
77+ // Id of the shard
78+ uint32 shard_id = 2 ;
79+ // Cutoff point of the shard
80+ RecoveryPoint cutoff = 3 ;
7381}
0 commit comments