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

[FISH-5488] set fish.payara.tenantcontrol.blocking.disable system pro… #5325

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

lprimak
Copy link
Contributor

@lprimak lprimak commented Jul 2, 2021

…perty default to true

Description

Improvement. Eliminates regressions due to blocking of nodes with non-existent apps
while trying to retrieve Hazelcast objects

@lprimak lprimak force-pushed the TC_ChangeDefault branch from 30257f7 to d44b6e2 Compare July 2, 2021 05:36
@@ -66,7 +69,7 @@ public TenantControl saveCurrentTenant() {
if (invocation != null) {
tenantControl = invocation.getRegistryFor(TenantControl.class);
if (tenantControl == null && ctxUtil.isInvocationLoaded()) {
blockingDisabled = Boolean.getBoolean(DISABLE_BLOCKING_PROPERTY);
blockingDisabled = getDisableBlockingProperty.get();

Choose a reason for hiding this comment

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

Why is the static variable overwritten here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So it's possible to change the system property without restarting the instance and having it take effect

@lprimak
Copy link
Contributor Author

lprimak commented Jul 2, 2021

jenkins test

Copy link
Member

@Pandrex247 Pandrex247 left a comment

Choose a reason for hiding this comment

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

Call me old-fashioned but I think the use of a supplier for System.getProperty is a little overkill, but otherwise LGTM (Rudy's question and Quicklook exploding outstanding).

@lprimak
Copy link
Contributor Author

lprimak commented Jul 2, 2021

Call me old-fashioned but I think the use of a supplier for System.getProperty is a little overkill, but otherwise LGTM (Rudy's question and Quicklook exploding outstanding).

yea probably :) Not worth changing at this point though
Rudy's question has been answered. Quicklook exploded due to JVM crash for some reason :)

@rdebusscher rdebusscher self-requested a review July 5, 2021 14:21
@lprimak lprimak merged commit 284d693 into payara:master Jul 5, 2021
@lprimak lprimak deleted the TC_ChangeDefault branch July 5, 2021 15:53
aubi pushed a commit to aubi/Payara that referenced this pull request Jan 3, 2022
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this pull request Apr 26, 2023
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.

3 participants