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

filetree_read performence improvement, fix memory leak issue #869

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

przemkalit
Copy link
Contributor

What does this PR do?

This change was initially related to the memory leak issue, but this modification increases the overall performance of the filetree_read. It primarily removes the looping over a potentially large list of objects and uses lookup plugins instead.

How should this be tested?

  1. Create export of the controller with filetree_create
  2. Use filetree_read to load files created by filetree_create.

Is there a relevant Issue open for this?

resolves #855

Other Relevant info, PRs, etc

N/A

@przemkalit przemkalit changed the title misc: filetree_read performence improvement, fix memory leak issue filetree_read performence improvement, fix memory leak issue Jul 15, 2024
Copy link
Contributor

@ivarmu ivarmu left a comment

Choose a reason for hiding this comment

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

LGTM. I've not tested the changes, but they look reasonable. Great job!

@ivarmu ivarmu merged commit acc13a5 into redhat-cop:devel Jul 15, 2024
10 of 13 checks passed
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.

Filetree_read - memory leak issue
3 participants