Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@
"in": "query",
"required": false,
"type": "string"
},
{
"name": "weakConsistency",
"description": "If true, the server may serve the response from an eventually-consistent\nsource instead of reading through to persistence. Defaults to false,\nwhich preserves read-after-write consistency. SDKs should set this when\nfetching namespace capabilities on worker/client startup.",
"in": "query",
"required": false,
"type": "boolean"
}
],
"tags": [
Expand Down Expand Up @@ -5013,6 +5020,13 @@
"in": "query",
"required": false,
"type": "string"
},
{
"name": "weakConsistency",
"description": "If true, the server may serve the response from an eventually-consistent\nsource instead of reading through to persistence. Defaults to false,\nwhich preserves read-after-write consistency. SDKs should set this when\nfetching namespace capabilities on worker/client startup.",
"in": "query",
"required": false,
"type": "boolean"
}
],
"tags": [
Expand Down
18 changes: 18 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ paths:
in: query
schema:
type: string
- name: weakConsistency
in: query
description: |-
If true, the server may serve the response from an eventually-consistent
source instead of reading through to persistence. Defaults to false,
which preserves read-after-write consistency. SDKs should set this when
fetching namespace capabilities on worker/client startup.
schema:
type: boolean
responses:
"200":
description: OK
Expand Down Expand Up @@ -4466,6 +4475,15 @@ paths:
in: query
schema:
type: string
- name: weakConsistency
in: query
description: |-
If true, the server may serve the response from an eventually-consistent
source instead of reading through to persistence. Defaults to false,
which preserves read-after-write consistency. SDKs should set this when
fetching namespace capabilities on worker/client startup.
schema:
type: boolean
responses:
"200":
description: OK
Expand Down
5 changes: 5 additions & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ message ListNamespacesResponse {
message DescribeNamespaceRequest {
string namespace = 1;
string id = 2;
// If true, the server may serve the response from an eventually-consistent
// source instead of reading through to persistence. Defaults to false,
// which preserves read-after-write consistency. SDKs should set this when
// fetching namespace capabilities on worker/client startup.
bool weak_consistency = 3;
}

message DescribeNamespaceResponse {
Expand Down
Loading