Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
No special handling required as quota is not incremented when file is created. Its handled in commitKey when file write is complete, and at that point, actual file size is available.
Description
When the client crashes, we need to adjust Usage because the block allocate might have succeeded, but the key eventually failed to write. At this point, we need to subtract the block size we have applied for.