Description
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.
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.