Andrew Wang created HDFS-5376:
---------------------------------
Summary: Incremental rescanning of cached blocks and cache entries
Key: HDFS-5376
URL: https://issues.apache.org/jira/browse/HDFS-5376
Project: Hadoop HDFS
Issue Type: Sub-task
Components: namenode
Affects Versions: HDFS-4949
Reporter: Andrew Wang
Assignee: Andrew Wang
{{CacheReplicationMonitor#rescan}} is invoked whenever a new cache entry is
added or removed. This involves a complete rescan of all cache entries and
cached blocks, which is potentially expensive. It'd be better to do an
incremental scan instead. This would also let us incrementally re-scan on
namespace changes like rename and create for better caching latency.
--
This message was sent by Atlassian JIRA
(v6.1#6144)