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

Tenant cache create fix master #17122

Merged
merged 5 commits into from Jun 24, 2020

Conversation

lprimak
Copy link
Contributor

@lprimak lprimak commented Jun 23, 2020

Version 4.0.x (master)

Wrapped factory instantiation in try/finally block with tenant control enabled.
This is so factories have their tenant environment set

Please view diff w/o whitespace changes to make it a very easy diff :)

Same as #17121 PR for 3.x

when factories get invoked, appropriate tenant environment is created
@ghost ghost added the Source: Community PR or issue was opened by a community user label Jun 23, 2020
- moved some of constructor's functionality into a private method to comply with checkstyle rules
@vbekiaris
Copy link
Collaborator

run-lab-run

@vbekiaris
Copy link
Collaborator

@lprimak thanks for the PRs. Can you create one more to get the fix into 4.0.z branch so it can be included in the next patch 4.0 version? (master is actually 4.1-SNAPSHOT)

@lprimak
Copy link
Contributor Author

lprimak commented Jun 24, 2020

Done with the 4.0.z PR, see previous message for mention

@vbekiaris vbekiaris merged commit aa01066 into hazelcast:master Jun 24, 2020
@mmedenjak mmedenjak added this to the 4.1 milestone Jun 26, 2020
@hazelcast hazelcast deleted a comment from devOpsHazelcast Jun 26, 2020
@mmedenjak
Copy link
Contributor

Thank you for the improvement @lprimak ! cc @Holmistr

@lprimak lprimak deleted the TENANT_CACHE_CREATE_FIX-master branch November 7, 2020 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants