Blocks Never Change
Dropbox's Magic Pocket splits files into blocks of up to 4 MB, keys every block by the SHA-256 of its (compressed, encrypted) contents, and never modifies a block once written. The Block Index maps hash to cell, bucket and checksum. Buckets are grouped into volumes, and a volume is either open (accepting writes) or closed (immutable, and eventually erasure coded).
A user edits a 12 MB file, changing bytes in the middle. More than one option is correct. Which of these happen?
Sign in to answer questions and track your progress
Sign In