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

Don't cache host config.storageDevice #278

Merged
merged 2 commits into from
May 31, 2018

Conversation

agrare
Copy link
Member

@agrare agrare commented May 28, 2018

This particular property can blow out the memory consumption on larger deployments. Currently these are collected one at a time per host to prevent memory usage growing too large.

This change removes these properties from the propertyCollector update set and cache and instead retrieves them per host prior to parsing.

@agrare agrare changed the title Don't cache host config.storageDevice [WIP] Don't cache host config.storageDevice May 28, 2018
@miq-bot miq-bot added the wip label May 28, 2018
@agrare agrare force-pushed the dont_cache_host_storage_devices branch 3 times, most recently from f79795d to 3cfeaab Compare May 29, 2018 16:07
@agrare agrare changed the title [WIP] Don't cache host config.storageDevice Don't cache host config.storageDevice May 29, 2018
@agrare agrare added enhancement and removed wip labels May 29, 2018
@agrare agrare force-pushed the dont_cache_host_storage_devices branch from 3cfeaab to f7e2ece Compare May 29, 2018 19:12
@miq-bot
Copy link
Member

miq-bot commented May 30, 2018

This pull request is not mergeable. Please rebase and repush.

@agrare agrare force-pushed the dont_cache_host_storage_devices branch from f7e2ece to 055c106 Compare May 30, 2018 17:41
@miq-bot
Copy link
Member

miq-bot commented May 30, 2018

Checked commits agrare/manageiq-providers-vmware@e1b20d8~...055c106 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
5 files checked, 0 offenses detected
Everything looks fine. 👍

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

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

Looks great 👍

@Ladas Ladas merged commit 27e9d9b into ManageIQ:master May 31, 2018
@Ladas Ladas added this to the Sprint 87 Ending Jun 4, 2018 milestone May 31, 2018
@agrare agrare deleted the dont_cache_host_storage_devices branch May 31, 2018 13:01
agrare pushed a commit to agrare/manageiq-providers-vmware that referenced this pull request Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants