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-1293 Disassociate ClusteredStore from tenants #5188

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

lprimak
Copy link
Contributor

@lprimak lprimak commented Apr 8, 2021

Description

Bug.
Tenant control associates all Hazelcast objects to their calling applications by default.
However, internal maps that belong to ClusteredStore should not do this.
This fix prevents it from associating thus preventing blocking by tenant control
when application is undeployed

  • pushing empty context in ClusteredStore to prevent association of Hazelcast maps to tenant applications

    that may be later undeployed and would leave maps orphan, which in turn will lead
    to Hazelcast blocking calls to those maps

  • minor cleanup

Testing

Testing Performed

Ran Payara Samples twice, which is how I discovered this bug in the first place

Review Notes

** Please use "ignore whitespace changes" to review,
otherwise it looks like changes don't make sense

…Hazelcast maps to tenant applications

  that may be later undeployed and would leave maps orphan, which in turn will lead
  to Hazelcast blocking calls to those maps
- minor cleanup
@lprimak lprimak requested review from smillidge and Pandrex247 April 8, 2021 20:25
@lprimak
Copy link
Contributor Author

lprimak commented Apr 8, 2021

jenkins test

@lprimak lprimak requested review from MattGill98 and dmatej April 8, 2021 21:11
@lprimak lprimak merged commit c2444a8 into payara:master Apr 8, 2021
@lprimak lprimak deleted the ClusteredStoreNonTenant branch April 8, 2021 23:16
aubi pushed a commit to aubi/Payara that referenced this pull request Jan 3, 2022
…iation of Hazelcast maps to tenant applications (payara#5188)

that may be later undeployed and would leave maps orphan, which in turn will lead
  to Hazelcast blocking calls to those maps
- minor cleanup
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this pull request Jan 31, 2022
…Hazelcast maps to tenant applications (payara#5188)

that may be later undeployed and would leave maps orphan, which in turn will lead
  to Hazelcast blocking calls to those maps
- minor cleanup
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