Michael Kublin has posted comments on this change.
Change subject: [wip] core: storage domain failover process never runs
......................................................................
Patch Set 6: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/eventqueue/EventQueueMonitor.java
Line 67: try {
Line 68: Event currentEvent =
poolCurrentEventMap.get(storagePoolId);
Line 69: if (currentEvent != null) {
Line 70: switch (currentEvent.getEventType()) {
Line 71: case RECOVERY:
event.getEventType() == EventType.DOMAINFAILOVER should be added here.
Now, I don't think that the following event can run when recovery can run, but
I prefer to be on safe side, especially when it not cost to me anything
Line 72: if (event.getEventType() ==
EventType.VDSCONNECTTOPOOL || event.getEventType() == EventType.VDSCLEARCACHE) {
Line 73: task = addTaskToQueue(event, callable,
storagePoolId, isEventShouldBeFirst(event));
Line 74: } else {
Line 75: log.debugFormat("Current event was skiped
because of recovery is running now for pool {0}, event {1}",
--
To view, visit http://gerrit.ovirt.org/12237
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib1a45098dc4eb2607dd12dabf3c0d526e8bebca7
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Paikov <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches