1. 20 Sep, 2016 1 commit
    • manish's avatar
      Disable WAL for block storage DB · 0df6a8d1
      manish authored
      (Rocks) DB WAL adds overheads while using the DB for saving checkpoints
      for block storage. Avoiding writing to WAL translates the write workload
      (appending blocks to the blockfile) into a sequential disk writes.
      This commit changes the way checkpoints are saved - checkpoints are
      written to DB as before, however since WAL is disabled, the checkpoint
      stays in-memory only. The in-memory checkpoint is flushed explicitly to
      disk (via DB flush) at the time of new block file creation. The in-memory
      checkpoint would implicitly also be flushed to memory at the time of DB
      shutdown. However, if a crash takes place, the checkpoint available in the
      DB would be behind the actual block file status. In order to handle this
      crash scenario, this commit also adds code to perform a scan of the block
      file beyond the last saved checkpoint and update the checkpoint.
      Change-Id: Ie88646b225abaa50b595833f5e7ed8d4facae920
      Signed-off-by: default avatarmanish <manish.sethi@gmail.com>
  2. 18 Sep, 2016 1 commit
  3. 17 Sep, 2016 4 commits
  4. 15 Sep, 2016 2 commits
    • manish's avatar
      WIP - Initial commit for ledger code. · 7439cd35
      manish authored
      This includes structure of the new code conforming to new architecture
      and a basic working implementation.
      Change-Id: I885e122c0001ff82301cd1448a7ddad80db931b0
      Signed-off-by: default avatarmanish <manish.sethi@gmail.com>
    • Jason Yellick's avatar
      Add generic blackbox rawledger tests · be768c7c
      Jason Yellick authored
      This changeset adds tests which are generally applicable to
      rawledger implementations.  It enables these tests for both
      ramledger and for fileledger.
      You may notice that these tests are substantially similar to
      the tests in file ledger and were derived from there,
      substituting black box equivalents for the implementation
      details of fileledger.
      This new suite of tests also caught a bug in the ramledger
      implementation which could result in a crash when the
      specified block was exactly the block number of the oldest
      block in storage.  A fix is included.
      Change-Id: I76813c8ba7853d47fa6ffa89b16ffc66b8ddfd5f
      Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
  5. 14 Sep, 2016 4 commits
  6. 12 Sep, 2016 1 commit
  7. 08 Sep, 2016 1 commit
  8. 03 Sep, 2016 1 commit
  9. 02 Sep, 2016 1 commit
  10. 01 Sep, 2016 1 commit
  11. 31 Aug, 2016 4 commits
  12. 30 Aug, 2016 4 commits
  13. 26 Aug, 2016 4 commits
  14. 24 Aug, 2016 1 commit
  15. 23 Aug, 2016 10 commits