Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.0.0-alpha
-
None
-
None
Description
Scenario:
=========
1. There are 2 clients cli1 and cli2 cli1 write a file F1 and not closed
2. The cli2 will call append on unclosed file and triggers a leaserecovery
3. Cli1 is closed
4. Lease recovery is completed and with updated GS in DN and got BlockReport since there is a mismatch in GS the block got corrupted
5. Now we got a CommitBlockSync this will also fail since the File is already closed by cli1 and state in NN is Finalized
Attachments
Issue Links
- is duplicated by
-
HDFS-10240 Race between close/recoverLease leads to missing block
- Resolved