mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
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>
6 lines
194 B
Plaintext
6 lines
194 B
Plaintext
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
|