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 the aclCache race condition by initializing it on definition #3141

Merged
merged 2 commits into from
Mar 15, 2019

Conversation

gitlw
Copy link

@gitlw gitlw commented Mar 15, 2019

Javier detected a problem where a request was evaluated against the aclCache when the aclCache is not initialized yet.
This PR removes the race condition by initializing the aclCache when it is defined.


This change is Reviewable

Copy link
Contributor

@codexnull codexnull left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@codexnull codexnull left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@gitlw gitlw merged commit 351d605 into master Mar 15, 2019
@gitlw gitlw deleted the gitlw/address_acl_race_condition branch March 15, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants