Skip to content

Commit f185229

Browse files
Added-failoverandinitial-version‑fields (#621)
Added two new fields to the `GetClusterInfoResponse` proto: ```protobuf int64 failover_version_increment = 9; int64 initial_failover_version = 10; ``` [Server PR](temporalio/temporal#8090) --------- Co-authored-by: Roey Berman <[email protected]>
1 parent c149ac6 commit f185229

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

openapi/openapiv2.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11198,6 +11198,14 @@
1119811198
},
1119911199
"visibilityStore": {
1120011200
"type": "string"
11201+
},
11202+
"initialFailoverVersion": {
11203+
"type": "string",
11204+
"format": "int64"
11205+
},
11206+
"failoverVersionIncrement": {
11207+
"type": "string",
11208+
"format": "int64"
1120111209
}
1120211210
},
1120311211
"description": "GetClusterInfoResponse contains information about Temporal cluster."

openapi/openapiv3.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8242,6 +8242,10 @@ components:
82428242
type: string
82438243
visibilityStore:
82448244
type: string
8245+
initialFailoverVersion:
8246+
type: string
8247+
failoverVersionIncrement:
8248+
type: string
82458249
description: GetClusterInfoResponse contains information about Temporal cluster.
82468250
GetCurrentDeploymentResponse:
82478251
type: object

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,8 @@ message GetClusterInfoResponse {
11571157
int32 history_shard_count = 6;
11581158
string persistence_store = 7;
11591159
string visibility_store = 8;
1160+
int64 initial_failover_version = 9;
1161+
int64 failover_version_increment = 10;
11601162
}
11611163

11621164
message GetSystemInfoRequest {

0 commit comments

Comments
 (0)