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

webadmin: trigger 'cancel' action on MoveOrCopyDiskModel #372

Merged
merged 2 commits into from
May 16, 2022

Conversation

sleviim
Copy link
Member

@sleviim sleviim commented May 12, 2022

In case the environment has a large amount of disks, and triggering the
move/copy dialog opening and closing for a couple of times, the browser
crashes due to a memory leak caused by a huge amount of property change
listeners that remain although pressing the 'cancel' button.
By triggering the 'cancel' operation including 'cleanup()', the browser
doesn't crash as before.

Bug-Url: https://bugzilla.redhat.com/2001574
Signed-off-by: Shani Leviim sleviim@redhat.com

In case the environment has a large amount of disks, and triggering the
move/copy dialog opening and closing for a couple of times, the browser
crashes due to a memory leak caused by a huge amount of property change
listeners that remain although pressing the 'cancel' button.
By triggering the 'cancel' operation including 'cleanup()', the browser
doesn't crash as before.

Bug-Url: https://bugzilla.redhat.com/2001574
Signed-off-by: Shani Leviim <sleviim@redhat.com>
Signed-off-by: Arik Hadas <ahadas@redhat.com>
@sleviim
Copy link
Member Author

sleviim commented May 15, 2022

For creating 5000 disks on my env, I used the add_disks example from python-ovirt-engine-sdk4/examples:
python3 add_disks.py --config engine1 --sd-name nfs-host-apple --count 5000 --format qcow2 --sparse

@ahadas ahadas merged commit d4c13d6 into oVirt:master May 16, 2022
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