Description
Currently, the in-memory key-value store uses a Map to store key-value pairs and fetches them by calling subMap and returning an iterator to this submap. This is unsafe as the submap is just a view of the original map and there is risk of concurrent access.