Writing a slice to a new bin
About this task
You can write a slice to a new bin.
Procedure
- The slicename is hashed to determine bin file and bin number.
- Non-existence of an in-memory pointer indicates the bin in question does not already exist on disk.
- A new bin is created in memory containing the slice.
- The new bin is appended to the appropriate bin file.
- The in-memory bin pointers are updated to reflect the new position of this bin.
- The Pointer File is updated with the location of the new bin.