Skip to content
Merged
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
9 changes: 8 additions & 1 deletion temporal/api/errordetails/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ message NamespaceNotActiveFailure {
string active_cluster = 3;
}

// NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth call out that this is transient error that should be retried.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's already captured by the fact that it's an unavailable error but I'll clarify.

// example, when a namespace is in the process of failing over between clusters.
// This is a transient error that should be automatically retried by clients.
message NamespaceUnavailableFailure {
string namespace = 1;
}

message NamespaceInvalidStateFailure {
string namespace = 1;
// Current state of the requested namespace.
Expand Down Expand Up @@ -130,4 +137,4 @@ message MultiOperationExecutionFailure {
string message = 2;
repeated google.protobuf.Any details = 3;
}
}
}
Loading