[jira] [Closed] (TINKERPOP-1581) Gremlin-Python driver connection is not thread safe.
[ https://issues.apache.org/jira/browse/TINKERPOP-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stephen mallette closed TINKERPOP-1581. --- Resolution: Fixed Assignee: David M. Brown > Gremlin-Python driver connection is not thread safe. > > > Key: TINKERPOP-1581 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1581 > Project: TinkerPop > Issue Type: Bug > Components: python >Affects Versions: 3.2.3 >Reporter: Marko A. Rodriguez >Assignee: David M. Brown > Fix For: 3.2.4 > > > From Dave on the mailing list. > gremlin-python should work fine with threads, but there is a bug in the > current code that makes it ignore the 'loop' parameter when it's there (and > puts all calls on the same loop when it isn't, leading to crashes when > running many threads): > At line 43 in driver_remote_connection.py (function `DriverRemoteConnection`): > {code} > if loop is None: > self._loop = ioloop.IOLoop.current() > {code} > should be: > {code} > if loop is None: > self._loop = ioloop.IOLoop.current() > else: > self._loop = loop > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (TINKERPOP-1581) Gremlin-Python driver connection is not thread safe.
[ https://issues.apache.org/jira/browse/TINKERPOP-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David M. Brown closed TINKERPOP-1581. - Resolution: Fixed > Gremlin-Python driver connection is not thread safe. > > > Key: TINKERPOP-1581 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1581 > Project: TinkerPop > Issue Type: Bug > Components: language-variant >Affects Versions: 3.2.3 >Reporter: Marko A. Rodriguez > Fix For: 3.2.4 > > > From Dave on the mailing list. > gremlin-python should work fine with threads, but there is a bug in the > current code that makes it ignore the 'loop' parameter when it's there (and > puts all calls on the same loop when it isn't, leading to crashes when > running many threads): > At line 43 in driver_remote_connection.py (function `DriverRemoteConnection`): > {code} > if loop is None: > self._loop = ioloop.IOLoop.current() > {code} > should be: > {code} > if loop is None: > self._loop = ioloop.IOLoop.current() > else: > self._loop = loop > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)