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

Disable demo properties that affect the client in production #278

Merged

Conversation

smukil
Copy link
Contributor

@smukil smukil commented Aug 1, 2019

Somehow, the demo properties get picked up by the client even though
it's not supposed to which causes incorrect behavior in the client.

The properties in question are LOCAL_RACK and LOCAL_DATACENTER which
return the values set in the demo.properties file in production, causing
ConfigUtils.getLocalZone() and ConfigUtils.getDataCenter() to return
potentially incorrect values.

TODO: Figure out why demo.properties gets picked up and disallow it from happening.

Somehow, the demo properties get picked up by the client even though
it's not supposed to which causes incorrect behavior in the client.

The properties in question are LOCAL_RACK and LOCAL_DATACENTER which
return the values set in the demo.properties file in production, causing
ConfigUtils.getLocalZone() and ConfigUtils.getDataCenter() to return
potentially incorrect values.
@smukil smukil added the bug label Aug 1, 2019
@smukil smukil self-assigned this Aug 1, 2019
@smukil smukil merged commit 8283d86 into Netflix:master Aug 2, 2019
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.

2 participants