ceph_from_scratch icon indicating copy to clipboard operation
ceph_from_scratch copied to clipboard

rgw multipart upload的hash问题

Open wanghaisheng opened this issue 7 years ago • 1 comments

通过rgw 使用multipart upload 的时候 假如一个文件38M 4M一块 分成10块 整个上传过程会产生10个分块对应的hash 和一个总的hash 请问您知道总的hash的计算方法吗 如何从原始文件和10个分块对应的hash得到这个值 在整个过程中客户端是否只要保证10个分块的hash是一致的即可确保文件没有损坏

wanghaisheng avatar May 09 '17 04:05 wanghaisheng

I don't know the exact algorithm of computing the hash.

You may ask in StackOverflow or look at the code of ceph itself.

tobegit3hub avatar May 09 '17 06:05 tobegit3hub