Scan: Use ConcurrentHashMap in scan search to keep track of the reader states.

PR for #7478