[
https://issues.apache.org/jira/browse/DISPATCH-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386433#comment-17386433
]
ASF subversion and git services commented on DISPATCH-2195:
-----------------------------------------------------------
Commit e90df062b08fb572e5d865c69feb0f20dd202abe in qpid-dispatch's branch
refs/heads/main from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e90df06 ]
DISPATCH-2195: Fix SERVER-PYTHON lock inversion
* Release server lock before calling qd_policy_socket_close instead
of after.
* As a general rule the PYTHON lock must not be taken while holding
any other lock.
* Make a copy of the global while holding the lock and then log the
value of the copy.
This closes #1295
> Deadlock possible with SERVER - PYTHON lock inversion
> -----------------------------------------------------
>
> Key: DISPATCH-2195
> URL: https://issues.apache.org/jira/browse/DISPATCH-2195
> Project: Qpid Dispatch
> Issue Type: Test
> Components: Router Node
> Affects Versions: 1.16.1
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
> Fix For: 1.17.0
>
>
> Analysis in DISPATCH-2183 shows that PYTHON and SERVER locks are taken in
> both orders and could cause a deadlock.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]