Colin Patrick McCabe created HDFS-5314:
------------------------------------------

             Summary: Do not expose CachePool type in AddCachePoolOp
                 Key: HDFS-5314
                 URL: https://issues.apache.org/jira/browse/HDFS-5314
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: namenode
    Affects Versions: HDFS-4949
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


{{CachePool}} is an internal type which should not be exposed or used in the 
{{FSEditLog}}.  Because {{CachePool}} is mutable, storing a reference to it in 
an edit log operation could lead to the edit log operation changing as a result 
of the {{CachePool}} object being changed.  Instead, we should store 
{{CachePoolInfo}}.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to