Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recreate custom search attribute after upgrade to advanced visibility with SQL #3945

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

rodrigozhou
Copy link
Collaborator

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
service/frontend/operator_handler.go Outdated Show resolved Hide resolved
@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