h627_20090922.patch: only able to fix (1).
> 2. When finalizing a RUR, we need to make sure that the finalized data/meta files are located in the "finalized" directory. Check FSDataset#finalizeBlock to see how a replica is finalized.
I cannot see any codes in FSDataset#finalizeBlock checking "finalized" directory. Could you give me more hints?
3. Looks that we need to make sure that rbw#getBytesOnDiks() should be equal to rbw#getNumOfBytes() when stopping a writer..
Then, it should be fixed in initReplicaRecovery(..), right?