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

Clean up cluster metadata initialization logic #4531

Merged
merged 8 commits into from
Jul 11, 2023

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jun 23, 2023

What changed?
Clean up cluster metadata initialization logic

Why?
Make the logic to be more readable.

How did you test it?
Added unit tests

Potential risks

Is hotfix candidate?

@yux0 yux0 requested a review from a team as a code owner June 23, 2023 16:23
temporal/fx.go Show resolved Hide resolved
temporal/fx.go Outdated Show resolved Hide resolved
@yux0 yux0 merged commit 83faadf into temporalio:master Jul 11, 2023
10 checks passed
wxing1292 pushed a commit that referenced this pull request Jul 24, 2023
Clean up cluster metadata initialization logic
wxing1292 pushed a commit that referenced this pull request Jul 24, 2023
Clean up cluster metadata initialization logic
nichtverstehen pushed a commit to nscloud-demo/temporal that referenced this pull request Nov 23, 2023
…5143)

<!-- Describe what has changed in this PR -->
**What changed?**
Fix setting up pre-allocated search attributes when a secondary SQL
visibility is added.

<!-- Tell your future self why have you made these changes -->
**Why?**
PR temporalio#4531 removed code that
did this.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Started single SQL visibility, and then added secondary SQL visibility.
Checked cluster metadata, it looks right.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
yux0 pushed a commit to yux0/temporal that referenced this pull request Nov 28, 2023
…5143)

<!-- Describe what has changed in this PR -->
**What changed?**
Fix setting up pre-allocated search attributes when a secondary SQL
visibility is added.

<!-- Tell your future self why have you made these changes -->
**Why?**
PR temporalio#4531 removed code that
did this.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Started single SQL visibility, and then added secondary SQL visibility.
Checked cluster metadata, it looks right.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
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.

None yet

2 participants