1. Apr 23, 2018
    • Tommaso Tocci's avatar
      specify functions name in log call · 8d5bc8ed
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      8d5bc8ed
    • Tommaso Tocci's avatar
      Test file size in simple wr test · 6a833fc7
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      6a833fc7
    • Tommaso Tocci's avatar
      bugfix: Atomic fiile creation · b04b1c66
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      The creation was performed through a simple rocksDB PUT operation.
      
      Multiple creation attempts on the same file would override the
      previously inserted metadata, in particular the file size.
      
      The creation is now handled with a new MergeOperand.
      Now a creation attampt on an already existing file will be converted in
      a NOP.
      b04b1c66
    • Tommaso Tocci's avatar
      Introduce MergeOperand baseclass · ef1df73f
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      The new MergeOperand base class can be subclassed in order to implement
      new merge-operands with their specific parameters and semantics.
      ef1df73f
    • Tommaso Tocci's avatar
      Simplify UpdateSize Operand · 0c1beda2
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      The UpdateSizeOperand has been renamed IncreaseSizeOperand.
      
      The operand was using three parameters size,offset and append_flag.
      
      Since we only need the (size + offset) sum in order to apply the
      operand, the offset field has been removed.
      0c1beda2
    • Tommaso Tocci's avatar
      Atomic file size update · a3ba1f97
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      In order to make the file-size-update operation atomic it is necessary
      to make the following action atomic:
      
       - READ old size value from rocksDB
       - COMPUTE new size based on the write operation
       - WRITE back the new value rocksDB
      
      We use rocksDB merge operation [1] in order to implement the atomic update.
      
      [1]: https://github.com/facebook/rocksdb/wiki/Merge-Operator
      a3ba1f97
    • Tommaso Tocci's avatar
      rocksDB enable run-time type identification · 716bc755
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      716bc755
    • Tommaso Tocci's avatar
      fix concurrent file removal · d4322998
      Tommaso Tocci authored and Marc Vef's avatar Marc Vef committed
      with the current storage back-end, chunks of a file are stored in
      several files in a folder on a real kernel-space filesystem.
      
      Removing a file means that we need to remove the entire directory and
      all its sub-files (rm -r).
      This operation is not atomic and it can raise errors if performed
      concurrently..
      
      This commit handles properly this kind of errors.
      d4322998
  2. Apr 20, 2018
  3. Apr 19, 2018
  4. Apr 16, 2018
  5. Apr 13, 2018
  6. Apr 12, 2018
  7. Apr 11, 2018
  8. Apr 10, 2018
  9. Apr 09, 2018
  10. Apr 08, 2018