When a file is under lease recovery and the writer is still alive, the write pipeline will be killed and then the writer will start a pipeline recovery. Sometimes the pipeline recovery may race before the lease recovery and as a result fail the lease recovery. This is very bad if we want to support the strong recoverLease semantics in
HDFS-1554. So it would be nice if we could disallow a file's pipeline recovery while its lease recovery is in progress.