by daviesliu · 2y ago · 0 comments
Inside the metadata service, it uses merkle tree (hash of hash) to verify the integrity of whole namespace (including id of data blocks) between RAFT replicas. Once we store the hash (4 bytes) of each objects into metadata, it should provide the integrity of the whole namespace.
Otherwise there’s no end-to-end integrity check.
With POSIX API or HDFS, there is no such API to do that, unfortunately.