dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Replicate search attributes together with namespace #312

Open dhiaayachi opened 2 months ago

dhiaayachi commented 2 months ago

Is your feature request related to a problem? Please describe. When an existing namespace is replicated to a new cluster (by updating namespace's clusters list), search attributes registered for that namespace on the current cluster won't be replicated/created on the new cluster.

Describe the solution you'd like Replicate custom search attributes as part of namespace replication.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

dhiaayachi commented 1 month ago

Thank you for your feature request.

Currently, search attributes are not replicated during namespace replication. You can work around this limitation by creating the search attributes manually on the new cluster using the Temporal CLI temporal operator add-search-attributes command, as documented here: https://docs.temporal.io/cli/operator#add_search_attributes

We appreciate your feedback and are actively considering ways to automate this process in future releases.

dhiaayachi commented 1 month ago

Thank you for reporting this! It is indeed a known issue. We are actively working to address it in a future release.

For the time being, you can work around this issue by manually creating the Search Attributes on the new cluster using the Temporal CLI or by adding the Search Attribute to the namespace using the Temporal Go SDK. The Temporal CLI documentation and the Temporal Go SDK documentation can help you achieve this.