Yair Zaslavsky has posted comments on this change.

Change subject: core: Locate data source in a loop
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/DbFacadeLocator.java
Line 42:                 if (datasource != null) {
Line 43:                     break;
Line 44:                 }
Line 45: 
Line 46:                 // Tell the user that the lookup failed but that we 
will try
I understand.
Can't we think of some upper bound to this check? (have X retries, with 
DEFAULT_INTERVAL_VALUE and have X * DEFAULT_INTER_VALUE <= 
UPPER_BOUND_OF_RETRY_TIME)
Line 47:                 // again in a few seconds:
Line 48:                 log.warn(
Line 49:                     "The datasource can't be located. This probably 
means " +
Line 50:                     "that DNS is not working correctly or is slow, 
please " +


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I72c99c61d05e8a1619c7d1fb70af956d1050eb3a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to