Skip to content

Conversation

@hehaifengcn
Copy link
Contributor

@hehaifengcn hehaifengcn commented May 23, 2025

What was changed

Why?

CustomSearchAttributeAliases is used when Temporal server is configured with search attribute mapper which maps external name (customer provided) to internal name. In such case, internal names are encoded in workflow execution instead of external ones. Normally customer don't care about such mapping. However, if we want to replicate a workflow using custom search attribute between two servers, we want to make sure CustomSearchAttributeAliases is configured the same between the two. In the context of self-hosted to cloud namespace migration, customer can provide their CustomSearchAttributeAliases configuration with this command.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@hehaifengcn hehaifengcn requested a review from a team as a code owner May 23, 2025 20:00
@CLAassistant
Copy link

CLAassistant commented May 23, 2025

CLA assistant check
All committers have signed the CLA.

"ReplicationConfig.Clusters", "Config.HistoryArchivalState", "Config.VisibilityArchivalState",
"IsGlobalNamespace", "FailoverVersion", "FailoverHistory", "Config.HistoryArchivalUri",
"Config.VisibilityArchivalUri",
"Config.CustomSearchAttributeAliases",
Copy link
Contributor Author

@hehaifengcn hehaifengcn May 23, 2025

Choose a reason for hiding this comment

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

this will show CustomSearchAttributeAliases by default. Can put it behind of flag if ppl really want to.

@hehaifengcn hehaifengcn requested a review from rodrigozhou May 23, 2025 20:22
@cretz cretz merged commit 8dd55ac into main May 27, 2025
12 checks passed
@cretz cretz deleted the haifengh/csa branch May 27, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants