Data recovery in Erasure coding.
If a have 2 original block and 1 Parity block in HDFS according to the EC policy, then If I lose 2 of this 3 blocks, How HDFS is going to Recover the missing data.
Block A xor Block B = Parity Block
If I lose any one of the block, I can see HDFS will be able to create the missing block. But if I lose any 2 block, I don't see how we will recover the missing 2 block out of 1 block.
If help me understand or redirect me to some helpful resources.

