static ENV: Mutex<Weak<Env>>Expand description
The process-global rocksdb environment, held weakly so it lives exactly as long as some context needs it.
Env::new returns rocksdb’s default environment singleton, so every handle
addresses the same object and its thread pools are shared by every engine
open in this process. Locking this slot across both acquisition and
teardown is what keeps the two mutually exclusive.