ceph_from_scratch
ceph_from_scratch copied to clipboard
rgw multipart upload的hash问题
通过rgw 使用multipart upload 的时候 假如一个文件38M 4M一块 分成10块 整个上传过程会产生10个分块对应的hash 和一个总的hash 请问您知道总的hash的计算方法吗 如何从原始文件和10个分块对应的hash得到这个值 在整个过程中客户端是否只要保证10个分块的hash是一致的即可确保文件没有损坏
I don't know the exact algorithm of computing the hash.
You may ask in StackOverflow or look at the code of ceph itself.