Change in ovirt-engine[master]: engine: Fixed issue with gluster task scheduler thread waiting

Kanagaraj M has submitted this change and it was merged. Change subject: engine: Fixed issue with gluster task scheduler thread waiting ...................................................................... engine: Fixed issue with gluster task scheduler thread waiting In case there's an issue with acquiring lock in the BLL method the scheduler thread that monitors the gluster tasks waits indefinitely and further monitoring of other tasks do not happen. Wrapped the call to BLL methods that create a a job for tasks detected from CLI in a separate thread to avoid this. Change-Id: Ia94a2cccece1c0a45c46bbd7cc3e1e58c9aa379f Signed-off-by: Sahina Bose <sabose@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterTasksSyncJob.java M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/GlusterTasksSyncJobTest.java 2 files changed, 52 insertions(+), 33 deletions(-) Approvals: Kanagaraj M: Looks good to me, approved Sahina Bose: Verified -- To view, visit http://gerrit.ovirt.org/20089 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia94a2cccece1c0a45c46bbd7cc3e1e58c9aa379f Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sahina Bose <sabose@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayilsa@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Ramesh N <rnachimu@redhat.com> Gerrit-Reviewer: Sahina Bose <sabose@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtripat@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
kmayilsa@redhat.com