1. 30 10月, 2015 4 次提交
  2. 29 10月, 2015 1 次提交
  3. 28 10月, 2015 1 次提交
    • D
      Implement smart buffer management. · 6fbc4f9f
      Dmitri Smirnov 提交于
        introduce a new DBOption random_access_max_buffer_size to limit
        the size of the random access buffer used for unbuffered access.
        Implement read ahead buffering when enabled.
        To that effect propagate compaction_readahead_size and the new option
        to the env options to make it available for the implementation.
        Add Hint() override so SetupForCompaction() call would call Hint()
        readahead can now be setup from both Hint() and EnableReadAhead()
        Add new option random_access_max_buffer_size support
        db_bench, options_helper to make it string parsable
        and the unit test.
      6fbc4f9f
  4. 27 10月, 2015 1 次提交
  5. 23 10月, 2015 1 次提交
  6. 21 10月, 2015 1 次提交
  7. 20 10月, 2015 8 次提交
  8. 19 10月, 2015 8 次提交
  9. 18 10月, 2015 1 次提交
  10. 17 10月, 2015 3 次提交
  11. 16 10月, 2015 2 次提交
    • I
      Fix db_test under ROCKSDB_LITE · 952ad994
      Islam AbdelRahman 提交于
      Summary:
      This diff exclude alot of tests in db_test that are not compiling / failing under ROCKSD_LITE
      
      Test Plan:
      OPT=-DROCKSDB_LITE make check -j64
      make check -j64
      
      Reviewers: yhchiang, igor, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D48771
      952ad994
    • I
      Block tests under ROCKSDB_LITE · 6d730b4a
      Islam AbdelRahman 提交于
      Summary:
      This patch will block all tests (not including db_test) that don't compile / fail under ROCKSDB_LITE
      
      Test Plan:
      OPT=-DROCKSDB_LITE make db_compaction_filter_test -j64 &&
      OPT=-DROCKSDB_LITE make db_compaction_test -j64 &&
      OPT=-DROCKSDB_LITE make db_dynamic_level_test -j64 &&
      OPT=-DROCKSDB_LITE make db_log_iter_test -j64 &&
      OPT=-DROCKSDB_LITE make db_tailing_iter_test -j64 &&
      OPT=-DROCKSDB_LITE make db_universal_compaction_test -j64 &&
      OPT=-DROCKSDB_LITE make ldb_cmd_test -j64
      
      make clean
      
      make db_compaction_filter_test -j64 &&
      make db_compaction_test -j64 &&
      make db_dynamic_level_test -j64 &&
      make db_log_iter_test -j64 &&
      make db_tailing_iter_test -j64 &&
      make db_universal_compaction_test -j64 &&
      make ldb_cmd_test -j64
      
      Reviewers: yhchiang, igor, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D48723
      6d730b4a
  12. 15 10月, 2015 3 次提交
  13. 14 10月, 2015 6 次提交
    • I
      Make db_test_util compile under ROCKSDB_LITE · f55d3009
      Islam AbdelRahman 提交于
      Summary: db_test_util is used in multiple test files but it dont compile under ROCKSDB_LITE
      
      Test Plan:
      make check
      make static_lib
      OPT=-DROCKSDB_LITE make db_wal_test
      
      Reviewers: igor, yhchiang, rven, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D48579
      f55d3009
    • Y
      Correct the comments in db/internal_stats.h · 2b925ccb
      Yueh-Hsuan Chiang 提交于
      Summary: Correct the comments in db/internal_stats.h
      
      Test Plan: no code change
      
      Reviewers: igor, IslamAbdelRahman, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D48675
      2b925ccb
    • S
      Seperate InternalIterator from Iterator · 35ad531b
      sdong 提交于
      Summary:
      Separate a new class InternalIterator from class Iterator, when the look-up is done internally, which also means they operate on key with sequence ID and type.
      
      This change will enable potential future optimizations but for now InternalIterator's functions are still the same as Iterator's.
      At the same time, separate the cleanup function to a separate class and let both of InternalIterator and Iterator inherit from it.
      
      Test Plan: Run all existing tests.
      
      Reviewers: igor, yhchiang, anthony, kradhakrishnan, IslamAbdelRahman, rven
      
      Reviewed By: rven
      
      Subscribers: leveldb, dhruba
      
      Differential Revision: https://reviews.facebook.net/D48549
      35ad531b
    • P
      Put wal_filter under #ifndef ROCKSDB_LITE · cc4d13e0
      Praveen Rao 提交于
      cc4d13e0
    • Y
      Make perf_context.db_mutex_lock_nanos and db_condition_wait_nanos only measures DB Mutex · 7062d0ea
      Yueh-Hsuan Chiang 提交于
      Summary:
      In the current implementation, perf_context.db_mutex_lock_nanos and
      perf_context.db_condition_wait_nanos also include the mutex-wait time
      other than DB Mutex.
      
      This patch fix this issue by incrementing the counters only when it detects
      a DB mutex.
      
      Test Plan: perf_context_test
      
      Reviewers: anthony, IslamAbdelRahman, sdong, igor
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D48555
      7062d0ea
    • I
      Fix tests failing in ROCKSDB_LITE · 1fe78a40
      Islam AbdelRahman 提交于
      Summary:
      Fix tests that compile under ROCKSDB_LITE but currently failing.
      
      table_test:
      RandomizedLongDB test is using internal stats which is not supported in ROCKSDB_LITE
      
      compaction_job_test:
      Using CompactionJobStats which is not supported
      
      perf_context_test:
      KeyComparisonCount test try to open DB in ReadOnly mode which is not supported
      
      Test Plan: run the tests under ROCKSDB_LITE
      
      Reviewers: yhchiang, sdong, igor
      
      Reviewed By: igor
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D48585
      1fe78a40