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

replaced isAvailable call #331

Merged
merged 2 commits into from
Oct 4, 2024
Merged

replaced isAvailable call #331

merged 2 commits into from
Oct 4, 2024

Conversation

patduin
Copy link
Contributor

@patduin patduin commented Oct 3, 2024

📝 Description

🔗 Related Issues

@patduin patduin requested a review from a team as a code owner October 3, 2024 15:20
@@ -97,11 +97,6 @@ private void add(AbstractMetaStore metaStore) {

if (metaStore.getFederationType() == PRIMARY) {
primaryDatabaseMapping = databaseMapping;
if (!metaStoreMapping.isAvailable()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was added as part of Kerberos support: https://github.com/ExpediaGroup/waggle-dance/pull/266/files#diff-8c2a82b373b4f06981a5086c6e6f2cbafea8480451366fcf1ba3c1490450388a

For non Kerberos this is not needed and unwanted as Healtcheck connections just opening the processor will cause this to call the primary metastore. In production environments this is slowing things down. I moved it to the SASL code path.

CHANGELOG.md Outdated Show resolved Hide resolved
@patduin patduin merged commit 78b20f1 into main Oct 4, 2024
4 checks passed
@patduin patduin deleted the fix/sasl_open_connection branch October 4, 2024 11:39
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