core: add a mutex to protect the partitioned hashring relations
There are corner cases where a map could be accessed concurrently, let's add a mutex to it.
- Closes: #234 (closed)
There are corner cases where a map could be accessed concurrently, let's add a mutex to it.