[ https://issues.apache.org/jira/browse/HDFS-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HDFS-5789: -------------------------------------- Attachment: HDFS-5789.patch Attached a simple patch for review. > Some of snapshot APIs missing checkOperation double check in fsn > ---------------------------------------------------------------- > > Key: HDFS-5789 > URL: https://issues.apache.org/jira/browse/HDFS-5789 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0 > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Attachments: HDFS-5789.patch > > > HDFS-4591 introduced double checked for HA state while taking fsn lock. > checkoperation made before actually taking lock and after the lock again. > This pattern missed in some of the snapshot APIs and cache management related > APIs. -- This message was sent by Atlassian JIRA (v6.1.5#6160)