1. 01 9月, 2017 1 次提交
  2. 31 8月, 2017 5 次提交
    • S
      Set defaults for high-pri and low-pri thread pools in regression test script · 06b37eef
      Sagar Vemuri 提交于
      Summary:
      **Summary**:
      Set defaults for high-pri and low-pri thread pools in regression test script.
      
      **Reason for this change**:
      With #2680 , high-pri and low-pri thread pools get different numbers than before if  `num_high_pri_threads` and `num_low_pri_threads` options are not explicitly passed to db_bench in regression test script ... leading to a false-positive regression.
      
      **Test Plan**:
      REMOTE_HOST=udb1671.prn3 TEST_MODE=1 FBSOURCE=~/fbsource ~/fbsource/fbcode/rocks/tools/debug_regression_test.sh viewstate  (with very minor changes to the internals).
      
      Observe P50 and P99 which showed up as regressions in our graphs.
      
      Stats with the commit prior to #2680 , ie. 4f81ab38 :
      seekrandomwhilewriting :      75.096 micros/op 13316 ops/sec;  168.6 MB/s (7499074 of 7500000 found)
      Microseconds per seek:
      Count: 120000000 Average: 1197.7254  StdDev: 33.35
      Min: 187  Median: 980.5292  Max: 1816424
      Percentiles: **P50: 980.53** P75: 1494.57 **P99: 4185.64** P99.9: 7800.11 P99.99: 15039.64
      
      Stats at #2680, ie. at commit dce6d5a8 (false-positive regression):
      seekrandomwhilewriting :      85.330 micros/op 11719 ops/sec;  148.4 MB/s (7499073 of 7500000 found)
      Microseconds per seek:
      Count: 120000000 Average: 1362.3261  StdDev: 27.86
      Min: 185  Median: 1088.1915  Max: 652760
      Percentiles: **P50: 1088.19** P75: 1658.12 **P99: 5361.15** P99.9: 7997.95 P99.99: 11730.07
      
      Stats with the current change on top of dce6d5a8 :
      seekrandomwhilewriting :      77.780 micros/op 12856 ops/sec;  162.8 MB/s (7499102 of 7500000 found)
      Microseconds per seek:
      Count: 120000000 Average: 1226.6744  StdDev: 17.16
      Min: 185  Median: 994.2956  Max: 2553530
      Percentiles: **P50: 994.30** P75: 1513.68 **P99: 4284.30** P99.9: 9338.64 P99.99: 23008.86
      Closes https://github.com/facebook/rocksdb/pull/2801
      
      Differential Revision: D5742338
      
      Pulled By: sagar0
      
      fbshipit-source-id: cc5d727c1a131f2a7070d1bb892efbe929b976ff
      06b37eef
    • A
      Dump non-final ZSTD compression type support · c10cf166
      Andrew Kryczka 提交于
      Summary: Closes https://github.com/facebook/rocksdb/pull/2810
      
      Differential Revision: D5739947
      
      Pulled By: ajkr
      
      fbshipit-source-id: 09f99718b6b083c2711dcf17f7b68c305f3fd261
      c10cf166
    • A
      Extend property map with compaction stats · 8a6708f5
      Artem Danilov 提交于
      Summary:
      This branch extends existing property map which keeps values in doubles to keep values in strings so that it can be used to provide wider range of properties. The immediate need for that is to provide IO stall stats in an easy parseable way to MyRocks which is also part of this branch.
      Closes https://github.com/facebook/rocksdb/pull/2794
      
      Differential Revision: D5717676
      
      Pulled By: Tema
      
      fbshipit-source-id: e34ba5b79ba774697f7b97ce1138d8fd55471b8a
      8a6708f5
    • C
      EnvWrapper: Forward more functions · dc5f29f3
      Changli Gao 提交于
      Summary: Closes https://github.com/facebook/rocksdb/pull/2789
      
      Differential Revision: D5738335
      
      Pulled By: ajkr
      
      fbshipit-source-id: f371303c42b144d0a0424e9304b0df545f073ad1
      dc5f29f3
    • M
      Bumping version to 5.8 · 266ac245
      Maysam Yabandeh 提交于
      Summary: Closes https://github.com/facebook/rocksdb/pull/2738
      
      Differential Revision: D5736261
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 49d27e9ccd786c4056a3d586a060fe460ea883ac
      266ac245
  3. 30 8月, 2017 4 次提交
  4. 29 8月, 2017 3 次提交
  5. 27 8月, 2017 1 次提交
  6. 26 8月, 2017 3 次提交
    • M
      WriteAtPrepare: Efficient read from snapshot list · fbfa3e7a
      Maysam Yabandeh 提交于
      Summary:
      Divide the old snapshots to two lists: a few that fit into a cached array and the rest in a vector, which is expected to be empty in normal cases. The former is to optimize concurrent reads from snapshots without requiring locks. It is done by an array of std::atomic, from which std::memory_order_acquire reads are compiled to simple read instructions in most of the x86_64 architectures.
      Closes https://github.com/facebook/rocksdb/pull/2758
      
      Differential Revision: D5660504
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 524fcf9a8e7f90a92324536456912a99aaa6740c
      fbfa3e7a
    • M
      Blog post for FlushWAL · b01f426f
      Maysam Yabandeh 提交于
      Summary: Closes https://github.com/facebook/rocksdb/pull/2790
      
      Differential Revision: D5711609
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: ea103dac013c0a6a031834541ad67e7d95a80fe8
      b01f426f
    • Y
      make blob file close synchronous · 503db684
      Yi Wu 提交于
      Summary:
      Fixing flaky blob_db_test.
      
      To close a blob file, blob db used to add a CloseSeqWrite job to the background thread to close it. Changing file close to be synchronous in order to simplify logic, and fix flaky blob_db_test.
      Closes https://github.com/facebook/rocksdb/pull/2787
      
      Differential Revision: D5699387
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: dd07a945cd435cd3808fce7ee4ea57817409474a
      503db684
  7. 25 8月, 2017 3 次提交
    • Y
      Allow DB reopen with reduced options.num_levels · 3c840d1a
      Yi Wu 提交于
      Summary:
      Allow user to reduce number of levels in LSM by issue a full CompactRange() and put the result in a lower level, and then reopen DB with reduced options.num_levels. Previous this will fail on reopen on when recovery replaying the previous MANIFEST and found a historical file was on a higher level than the new options.num_levels. The workaround was after CompactRange(), reopen the DB with old num_levels, which will create a new MANIFEST, and then reopen the DB again with new num_levels.
      
      This patch relax the check of levels during recovery. It allows DB to open if there was a historical file on level > options.num_levels, but was also deleted.
      Closes https://github.com/facebook/rocksdb/pull/2740
      
      Differential Revision: D5629354
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: 545903f6b36b6083e8cbaf777176aef2f488021d
      3c840d1a
    • Y
      Fix DropColumnFamily data race · 92bfd6c5
      Yi Wu 提交于
      Summary:
      It should hold db mutex while accessing max_total_in_memory_state_.
      Closes https://github.com/facebook/rocksdb/pull/2784
      
      Differential Revision: D5696536
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: 45430634d7fe11909b38e42e5f169f618681c4ee
      92bfd6c5
    • M
      Pinnableslice examples and blog post · 7fdf735d
      Maysam Yabandeh 提交于
      Summary: Closes https://github.com/facebook/rocksdb/pull/2788
      
      Differential Revision: D5700189
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: 6f043e652093ff904e52f6d35190855781b87673
      7fdf735d
  8. 24 8月, 2017 9 次提交
  9. 23 8月, 2017 3 次提交
  10. 22 8月, 2017 3 次提交
  11. 21 8月, 2017 2 次提交
    • Y
      Blob db create a snapshot before every read · 5b68b114
      yiwu-arbug 提交于
      Summary:
      If GC kicks in between
      
      * A Get() reads index entry from base db.
      * The Get() read from a blob file
      
      The GC can delete the corresponding blob file, making the key not found. Fortunately we have existing logic to avoid deleting a blob file if it is referenced by a snapshot. So the fix is to explicitly create a snapshot before reading index entry from base db.
      Closes https://github.com/facebook/rocksdb/pull/2754
      
      Differential Revision: D5655956
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: e4ccbc51331362542e7343175bbcbdea5830f544
      5b68b114
    • Y
      GC the oldest file when out of space · 4624ae52
      yiwu-arbug 提交于
      Summary:
      When out of space, blob db should GC the oldest file. The current implementation GC the newest one instead. Fixing it.
      Closes https://github.com/facebook/rocksdb/pull/2757
      
      Differential Revision: D5657611
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: 56c30a4c52e6ab04551dda8c5c46006d4070b28d
      4624ae52
  12. 20 8月, 2017 1 次提交
  13. 19 8月, 2017 2 次提交