couchbase / moss

moss - a simple, fast, ordered, persistable, key-val storage library for golang
Other
959 stars 58 forks source link

Add some lock precedence design blurb/docs #39

Open steveyen opened 7 years ago

steveyen commented 7 years ago

Perhaps to the design docs, add a paragraph or so on lock acquisition precedence, to help avoid any lock inversion deadlock future bugs... see also https://github.com/couchbase/moss/commit/9fdd76410d2ca8d75ca00387f3c83a3c3a1eb621