1. 05 4月, 2017 1 次提交
    • Y
      Refactor WriteImpl (pipeline write part 1) · 9e445318
      Yi Wu 提交于
      Summary:
      Refactor WriteImpl() so when I plug-in the pipeline write code (which is
      an alternative approach for WriteThread), some of the logic can be
      reuse. I split out the following methods from WriteImpl():
      
      * PreprocessWrite()
      * HandleWALFull() (previous MaybeFlushColumnFamilies())
      * HandleWriteBufferFull()
      * WriteToWAL()
      
      Also adding a constructor to WriteThread::Writer, and move WriteContext into db_impl.h.
      No real logic change in this patch.
      Closes https://github.com/facebook/rocksdb/pull/2042
      
      Differential Revision: D4781014
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: d45ca18
      9e445318
  2. 04 4月, 2017 8 次提交
  3. 01 4月, 2017 4 次提交
  4. 31 3月, 2017 8 次提交
  5. 30 3月, 2017 5 次提交
  6. 29 3月, 2017 3 次提交
  7. 28 3月, 2017 1 次提交
  8. 25 3月, 2017 2 次提交
    • M
      Fix segmentation fault caused by #1961 · 34a70859
      Maysam Yabandeh 提交于
      Summary:
      Fixes #1961 which causes a segfault when filter_policy is nullptr and both
      pin_l0_filter_and_index_blocks_in_cache/cache_index_and_filter_blocks
      are set.
      Closes https://github.com/facebook/rocksdb/pull/2029
      
      Differential Revision: D4764862
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 05bd695
      34a70859
    • S
      Enable fifo compaction benchmark to db_bench · 8dee8cad
      Shu Zhang 提交于
      Summary:
      Added fifo benchmark to db_bench.
      One thing i am not sure is that i am using CompactRange() instead of CompactFiles(). (may cause performance skew because CompactionRange() is not happening in current thread?)  For CompactFiles(), for some reason FIFO compaction doesn't work as expected. More insight is welcomed. I guess FIFO compaction doesn't work with file names? igorcanadi
      
      test cmd:
      ./db_bench --compaction_style=2 --benchmarks=fillseqdeterministic --disable_auto_compactions --num_levels=1 --fifo_compaction_max_table_files_size_mb=10
      
      ---------------------- DB 0 LSM ---------------------
      Level[0]: /000014.sst(size: 4211014 bytes)
      fillseqdeterministic :       4.731 micros/op 211381 ops/sec;   23.4 MB/s
      Closes https://github.com/facebook/rocksdb/pull/1734
      
      Differential Revision: D4774964
      
      Pulled By: siying
      
      fbshipit-source-id: 9d08df6
      8dee8cad
  9. 24 3月, 2017 5 次提交
  10. 23 3月, 2017 3 次提交