Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Append Branch
-
None
-
Reviewed
Description
ClientProtocol methods addBlock() and complete() need to include additional parameter - a block, which has been successfully written to data-nodes. By sending this block to the name-node the client confirms the generation stamp of the block and its length. The block on the name-node changes its state to committed and will become complete as long as one of the finalized replicas reported by data-nodes.