Change in ovirt-engine[master]: webadmin: using search backend to find Up server in cluster

sanjal at redhat.com sanjal at redhat.com
Fri Feb 15 07:16:59 UTC 2013


Shireesh Anjal has submitted this change and it was merged.

Change subject: webadmin: using search backend to find Up server in cluster
......................................................................


webadmin: using search backend to find Up server in cluster

To find whether there are any host in Up staus in a cluster,
SearchQuery is used with Status=Up and MaxCount 1 .

The code is refactored to use the new technique rather than
fetching the full host list of a cluster and iterating through
them.

Change-Id: Ib2ba449d2fa43d0c2e510ec4d0b51d3dc359b6ae
Signed-off-by: Kanagaraj M <kmayilsa at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
2 files changed, 37 insertions(+), 15 deletions(-)

Approvals:
  Shireesh Anjal: Looks good to me, approved
  Kanagaraj M: Verified


--
To view, visit http://gerrit.ovirt.org/11995
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2ba449d2fa43d0c2e510ec4d0b51d3dc359b6ae
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>



More information about the Engine-commits mailing list