Child pages
  • ReplaceFile

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

Operation to replace a file on one or more pillars in a collection.

 

Skrive noter:

file størrelse

checksum spec (identify)

checksum spec (ny + gammel)

checksum request (ny + gammel)

Pillar checksum specification

The identification response contains a field for indicating that a responding pillar is a checksum pillar, and therefore only will be able to handle put requests with a certain checksum type. 

Pillar-side checksum verifications

The operation request have fields for pillar-side verification of both the file to be replaced and the new file. These checksum for the existing file is for the pillar to verify that the client have not mistaken the file for another. The checksum for the new file is for the pillar to verify that the new file was correct one and transferred correctly. 

Client-side checksum verifications

The operation request have fields for requesting checksum calculation of the existing and new files to be sent back to the client to verify that the correct file have been ingested by the pillar.