Skip to content

Conversation

rodrigozhou
Copy link
Contributor

What changed?
When adding custom search attributes, check cluster metadata only for ES.
With SQL, cluster metadata is never changed, so skip.

Why?
This allows user to re-create the custom search attributes after migrating to advanced visibility with SQL DB, and be able to transition smoothly.

How did you test it?
Started server with standard visibility, created a search attribute, restart server with advanced visibility, and tried to re-create the same search attribute.

Potential risks
No risks.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou requested a review from a team as a code owner February 13, 2023 19:45
@rodrigozhou rodrigozhou merged commit 75a4c0f into temporalio:master Feb 13, 2023
@rodrigozhou rodrigozhou deleted the fix-recreate-sa-sql branch February 13, 2023 21:56
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.

2 participants