Ayal Baron has posted comments on this change.

Change subject: Prefetch domains when connecting a storage server.
......................................................................


Patch Set 4: (1 inline comment)

....................................................
File vdsm/storage/sdc.py
Line 131:                 self._syncroot.notifyAll()
Line 132: 
Line 133:     def _findDomain(self, sdUUID):
Line 134:         try:
Line 135:             findMethod = self.knownSDs[sdUUID]
at least add a comment stating that we do not currently remove entries.
note that once you persist then restart won't solve.
we could potentially purge all domains from different pools when 
connectStoragePool is called. This way we only leak the domains which did not 
become part of a pool.
Line 136:         except KeyError:
Line 137:             self.log.error("looking for unfetched domain %s", sdUUID)
Line 138:             return self._findUnfetchedDomain(sdUUID)
Line 139:         else:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I8f2b19a566c659bac30a318d17cef929e0b2575b
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewars...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Daniel Paikov <pai...@gmail.com>
Gerrit-Reviewer: Eduardo <ewars...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Haim Ateya <hat...@redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykap...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to