1)Batch IBR is enabled with number of committed blocks allowed=1
2) Written one block and closed the file without waiting for IBR
3)Setreplication called immediately on the file.
So till the finalized IBR Received, block will not be added to neededReconstruction since following check will be false as block is not marked as complete.
Hence block will not marked as under-replicated.