In the log agent uses a lga_cb.cb_lock mutex to protect data in the global lga structure. This mutex is locked in the lga_recover_one_client() function. In the client thread, when this mutex is locked an MDS api (lga_mds_msg_sync_send) is called. This api will try to lock the MDS internal gl_mds_library_mutex which may already be locked. Both mutexes are also used in the MDS thread
changeset: 7622:834acf26480b
tag: tip
parent: 7620:36ecc9e083d1
user: Lennart Lund lennart.lund@ericsson.com
date: Thu May 12 16:16:48 2016 +0200
summary: log: Deadlock in log agent makes client hang[#1805]
rev: 834acf26480b497c3398b050eeb8396fa9cfa3a1
changeset: 7621:162649f4dde7
branch: opensaf-5.0.x
parent: 7619:6821f86a70ad
user: Lennart Lund lennart.lund@ericsson.com
date: Thu May 12 16:16:48 2016 +0200
summary: log: Deadlock in log agent makes client hang[#1805]
rev: 162649f4dde725312e90c2c0ffb82ec644aea978
Related
Tickets:
#1805