Skip to content

Commit a7b1d49

Browse files
committed
Add weak consistency option to DescribeNamespaceRequest (#775)
<!-- Describe what has changed in this PR --> **What changed?** Added weak_consistency boolean field to `DescribeNamespaceRequest`. When set to `true`, the server may serve the response from an eventually-consistent source (e.g. the in-memory namespace registry) instead of reading through to persistence. <!-- Tell your future self why have you made these changes --> **Why?** `DescribeNamespace` currently always reads through to the persistence store. The new field lets clients opt into eventually-consistent reads where read-after-write semantics aren't required, while preserving the existing strong-consistency contract for operator/admin callers (default behavior unchanged). <!-- Are there any breaking changes on binary or code level? --> **Breaking changes** None. Additive field with default `false`, preserving current behavior for clients that don't set it. <!-- If this breaks the Server, please provide the Server PR to merge right after this PR was merged. --> **Server PR** temporalio/temporal#10103
1 parent 2e9d726 commit a7b1d49

4 files changed

Lines changed: 23 additions & 10 deletions

File tree

temporalproto/openapi/openapiv2.go

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

temporalproto/openapi/openapiv3.go

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

workflowservice/v1/request_response.pb.go

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

0 commit comments

Comments
 (0)