1. 04 2月, 2016 2 次提交
    • S
      Merge pull request #965 from koldat/jni_for_windows · c12ff20a
      Siying Dong 提交于
      Adding support for Windows JNI build
      c12ff20a
    • G
      Skip some of the non-critical tests in ./tools/run_flash_bench.sh · a09ce4fc
      Gunnar Kudrjavets 提交于
      Summary:
      Some of the tests aren't considered to be critical when it comes to getting key benchmarking data for RocksDB. Therefore we'll introduce an environment variable `SKIP_LOW_PRI_TESTS` which enables skipping those test cases. By default all the tests will be run. If you want to optimize the test-case execution then do the following:
      
      `
      $ export SKIP_LOW_PRI_TESTS=1
      $ ./tools/run_flash_bench.sh
      `
      
      Test Plan: Verified that when  `SKIP_LOW_PRI_TESTS` is not set then `benchmark.sh` is called for all the scenarios and when `SKIP_LOW_PRI_TESTS` is set to `1` then `benchmark.sh` is called only for the test-cases which are critical.
      
      Reviewers: MarkCallaghan
      
      Reviewed By: MarkCallaghan
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D53739
      a09ce4fc
  2. 03 2月, 2016 6 次提交
    • A
      Eliminate duplicated property constants · 284aa613
      Andrew Kryczka 提交于
      Summary:
      Before this diff, there were duplicated constants to refer to properties (user-
      facing API had strings and InternalStats had an enum). I noticed these were
      inconsistent in terms of which constants are provided, names of constants, and
      documentation of constants. Overall it seemed annoying/error-prone to maintain
      these duplicated constants.
      
      So, this diff gets rid of InternalStats's constants and replaces them with a map
      keyed on the user-facing constant. The value in that map contains a function
      pointer to get the property value, so we don't need to do string matching while
      holding db->mutex_. This approach has a side benefit of making many small
      handler functions rather than a giant switch-statement.
      
      Test Plan: db_properties_test passes, running "make commit-prereq -j32"
      
      Reviewers: sdong, yhchiang, kradhakrishnan, IslamAbdelRahman, rven, anthony
      
      Reviewed By: anthony
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D53253
      284aa613
    • G
      94be872e
    • G
      Removing data race from expirable transactions · 0c2bd5cb
      Gabriela Jacques da Silva 提交于
      Summary:
      Doing inline checking of transaction expiration instead of
      using a callback.
      
      Test Plan: To be added
      
      Reviewers: anthony
      
      Reviewed By: anthony
      
      Subscribers: leveldb, dhruba
      
      Differential Revision: https://reviews.facebook.net/D53673
      0c2bd5cb
    • N
      disable kConcurrentSkipList multithreaded test · 5fcd1ba3
      Nathan Bronson 提交于
      Summary: Disable test that is intermittently failing
      
      Test Plan: unit tests
      
      Reviewers: igor, andrewkr, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D53715
      5fcd1ba3
    • A
      Generate tags for *.c files · 466c2c1b
      Andrew Kryczka 提交于
      Summary:
      db/c_test.c uses the functions in db/c.cc. If we have tags generated
      for one but not the other, it's easy to make mistakes like updating a function
      signature and missing a call site.
      
      Test Plan:
        $ make tags
      
      in vim:
      
        :cscope find s rocksdb_options_set_compression_options
        ...
        3    325  db/c_test.c <<main>>
                  rocksdb_options_set_compression_options(options, -14, -1, 0);
      
      Reviewers: sdong, yhchiang, IslamAbdelRahman
      
      Reviewed By: IslamAbdelRahman
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D53685
      466c2c1b
    • S
      Merge pull request #960 from koldat/masterFixes2 · 70c068c9
      Siying Dong 提交于
      Making use of GetSystemTimePreciseAsFileTime dynamic
      70c068c9
  3. 02 2月, 2016 15 次提交
  4. 01 2月, 2016 1 次提交
  5. 30 1月, 2016 1 次提交
    • V
      Add options.base_background_compactions as a number of compaction threads for low compaction debt · 3b2a1ddd
      Venkatesh Radhakrishnan 提交于
      Summary:
      If options.base_background_compactions is given, we try to schedule number of compactions not existing this number, only when L0 files increase to certain number, or pending compaction bytes more than certain threshold, we schedule compactions based on options.max_background_compactions.
      
      The watermarks are calculated based on slowdown thresholds.
      
      Test Plan:
      Add new test cases in column_family_test.
      Adding more unit tests.
      
      Reviewers: IslamAbdelRahman, yhchiang, kradhakrishnan, rven, anthony
      
      Reviewed By: anthony
      
      Subscribers: leveldb, dhruba, yoshinorim
      
      Differential Revision: https://reviews.facebook.net/D53409
      3b2a1ddd
  6. 29 1月, 2016 4 次提交
  7. 28 1月, 2016 5 次提交
  8. 27 1月, 2016 6 次提交