in-memory advisory read/write locks for leveldb keys