Closed evach-vf closed 8 years ago
Zero-padding the segment number to 5 digits allows to support the minimum chunk size of 1MB and the maximum of 5GB.
Without padding, when retrieving a file segmented in 10 or more segments, it will be reassembled in the wrong order and thus will be rendered useless.
Fixes issue #679.
Coverage remained the same at 88.818% when pulling d8aa69dc655f0654ce07e5ad3dc3ae9452ab7e76 on vanilla:working into 3ffee7b90884a3c556578db8ff9ab2b20b65f18c on rackspace:working.
Zero-padding the segment number to 5 digits allows to support the minimum chunk size of 1MB and the maximum of 5GB.
Without padding, when retrieving a file segmented in 10 or more segments, it will be reassembled in the wrong order and thus will be rendered useless.
Fixes issue #679.