Raghu Angadi wrote:

Thanks Nigel.

Another hack I can think of is, if DataNode is not finalized we can try to lock current/subdir.../blk_id and previous/subdir../blk_id. If second lock fails, we can assume they are the same.

This works on both Linux and Windows. I am thinking of using it for new method FSDataset.detachBackup(Block).

Raghu.

Reply via email to