Piotr Kliczewski has posted comments on this change.
Change subject: acceptor: stop to double close acceptor
......................................................................
Patch Set 2:
(3 comments)
https://gerrit.ovirt.org/#/c/63685/2/lib/vdsm/protocoldetector.py
File lib/vdsm/protocoldetector.py:
Line 207
Line 208
Line 209
Line 210
Line 211
Why do you want to remove stop?
We know we do not want to close
acceptor twice. It is enough to close reactor and acceptor will be closed together with
other dispatchers. It is enough to close reactor so the method is not needed here.
https://gerrit.ovirt.org/#/c/63685/2/tests/protocoldetectorTests.py
File tests/protocoldetectorTests.py:
Line 109
Line 110
Line 111
Line 112
Line 113
Why keep the acceptor running?
Acceptor will be closed when
reactor is closed.
https://gerrit.ovirt.org/#/c/63685/2/vdsm/clientIF.py
File vdsm/clientIF.py:
Line 285
Line 286
Line 287
Line 288
Line 289
Why keep the acceptor running? I think this patch should only add the
line
Please see my other replies.
--
To view, visit
https://gerrit.ovirt.org/63685
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9a14cfa84c34241dbb511c0348109073b6865087
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: Yes