ovn-org / libovsdb

An OVSDB Client Library written in Golang
Apache License 2.0
183 stars 154 forks source link

[Bug] Sometimes DeadLock when set inactivityTimeout > 0 #391

Open changluyi opened 1 week ago

changluyi commented 1 week ago
  1. enable inactivityTimeout will cause o.rpcMutex.RLock() dead lock in here Sometimes. image
  2. I trace this problem , and found that the rpcClient will hang image 3 .This occurs frequently when the timeout interval is set to a very small value, such as 10ms.
changluyi commented 1 week ago

it seems this pr can fix this problem, but I don't know why this pr is not merged

https://github.com/ovn-org/libovsdb/pull/368