Writing a slice to a new bin

About this task

You can write a slice to a new bin.

Procedure

  1. The slicename is hashed to determine bin file and bin number.
  2. Non-existence of an in-memory pointer indicates the bin in question does not already exist on disk.
  3. A new bin is created in memory containing the slice.
  4. The new bin is appended to the appropriate bin file.
  5. The in-memory bin pointers are updated to reflect the new position of this bin.
  6. The Pointer File is updated with the location of the new bin.