mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
[FIXED] Some lock inversions
The established ordering is client -> Account, so fixed few places where we had Account -> client. Added a new file, locksordering.txt with the list of known ordering for some of the objects. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
5
locksordering.txt
Normal file
5
locksordering.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Here is the list of some established lock ordering.
|
||||
|
||||
In this list, A -> B means that you can have A.Lock() then B.Lock(), not the opposite.
|
||||
|
||||
jetStream -> jsAccount -> Server -> client-> Account
|
||||
Reference in New Issue
Block a user