Merge "Using the number of copied docs to calculate completed when required bytes is zero."