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 work cache in cross-dc setup #442

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Conversation

mhajas
Copy link
Contributor

@mhajas mhajas commented Jul 21, 2023

No description provided.

@@ -214,6 +214,38 @@ spec:
EOF
}

function deploy_replicated_cache_cr() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this effectively the same as deploy_distributed_cache_cr except that we specify replicatedCache? I think it would be simpler to just make the cache type a parameter of the original deploy_cache_cr method so that we don't have to maintain duplicated code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ryanemerson there is also the number of owners. I would say we can leave this as is now, as we plan to migrate to Helm anyway. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah that's fine, it was just a nitpick 👍

@kami619
Copy link
Contributor

kami619 commented Jul 21, 2023

I can see the work cache stats coming up in a non cross-site deployment. LGTM. scratch my previous comment about the PR for cross-site deployment still in progress. I see thats merged yday. Will try to test this for a cross-site deployment.

@ahus1
Copy link
Contributor

ahus1 commented Jul 24, 2023

@ryanemerson / @mhajas / @kami619 - I saw the discussions above, and I wonder if this can be merged before today's meeting, and we can then plan the next steps?

@ryanemerson ryanemerson self-requested a review July 24, 2023 08:16
@ryanemerson
Copy link
Contributor

@ahus1 Sure, works for me.

@ahus1 ahus1 merged commit ec8d80c into keycloak:main Jul 24, 2023
1 check passed
@mhajas mhajas deleted the fix-work-cache branch July 24, 2023 09:02
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