1. 07 11月, 2015 3 次提交
    • I
      Adding new table properties · 8be568a9
      Islam AbdelRahman 提交于
      Summary:
      This diff introduce new table properties that will be written for block based tables
      These properties are
        - comparator name
        - merge operator name
        - property collectors names
      
      Test Plan:
        - Added a new unit test to verify that these tests are written/read correctly
        - Running all other tests right now (wont land until all tests finish)
      
      Reviewers: rven, kradhakrishnan, igor, sdong, anthony, yhchiang
      
      Reviewed By: yhchiang
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D34269
      8be568a9
    • N
      incorrect batch group size computation for write throttling · 2b42000f
      Nathan Bronson 提交于
      Summary:
      When a write batch can't join a batch group due to the total
      size of the contained batches, the write controller's GetDelay is passed
      a size value that includes the rejected batch.
      
      Test Plan: make check
      
      Reviewers: sdong, igor
      
      Reviewed By: igor
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D50343
      2b42000f
    • N
      Fix TSAN build for fbcode · c745f1d2
      Nathan Bronson 提交于
      Summary:
      TSAN builds for gcc 4.9 need a PIC version of the libraries
      taken from the fbcode platform.  This is accomplished by assuming every
      .a has a _pic.a sibling, and by fixing the third-party2 zlib build.
      
      Test Plan: make COMPILE_WITH_TSAN=1 check
      
      Reviewers: sdong, igor
      
      Reviewed By: igor
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D50331
      c745f1d2
  2. 06 11月, 2015 7 次提交
    • A
      Document SingleDelete · fe789c5f
      agiardullo 提交于
      Summary: Docuemented what is currently supported by SingleDelete based on its current implementation.
      
      Test Plan: n/a
      
      Reviewers: sdong, kradhakrishnan, yhchiang, rven
      
      Reviewed By: rven
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D50205
      fe789c5f
    • I
      Merge pull request #818 from yuslepukhin/improve_test_concurrency · e89e5b25
      Islam AbdelRahman 提交于
      Improve concurrency when running tests
      e89e5b25
    • V
      Fix regression failure in PrefixTest.PrefixValid · ae7940b6
      Venkatesh Radhakrishnan 提交于
      Summary: Use IterKey to store prefix_start_ so that it doesn't get freed
      
      Test Plan: PrefixTest.PrefixValid
      
      Reviewers: anthony, IslamAbdelRahman
      
      Reviewed By: IslamAbdelRahman
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D50289
      ae7940b6
    • D
      Improve concurrency when running tests · 3277d172
      Dmitri Smirnov 提交于
        PowerShell seems to have a hard time when a flood of async tasks is
        scheduled at the same time.
        I speculated that WaitForMultipleObjects() in Windows can only take up
        to 64 process handles and if you want to handle more than you should write
        some additional code which can be sub-optimal. I.e to implement Wait-Job -Any.
        I decided to test that suggestion and introduced a $Concurrency parameter with a default value of 62.
        So in the new version the script fires up up to $Concurrency value
        and wait for anything to complete before starting any more processes.
        This improved matters greatly. Individual tests against ramdrive now
        run in 8 minutes and all of the 200+ db_tests run in 9 minutes with concurrency
        values of 8-16. About 48 is required to load a CPU on my box running against HD
        but that does not improve running times much.
      
        Other changes include respect -EnableJE for the individual test exes.
        Enforce exclusions for the individual tests.
      3277d172
    • S
      Delete test iterators · c8e01ef9
      Satnam Singh 提交于
      Summary:
      Valgrind reports an issue with the test for GeoIterator.
      This diff explicitly deletes the two iterators used in this test.
      
      Test Plan: This diff is for a test. The test still passes.
      
      Reviewers: IslamAbdelRahman
      
      Reviewed By: IslamAbdelRahman
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D50193
      c8e01ef9
    • V
      Prefix-based iterating only shows keys in prefix · 9d50afc3
      Venkatesh Radhakrishnan 提交于
      Summary:
      MyRocks testing found an issue that while iterating over keys
      that are outside the prefix, sometimes wrong results were seen for keys
      outside the prefix. We now tighten the range of keys seen with a new
      read option called prefix_seen_at_start. This remembers the starting
      prefix and then compares it on a Next for equality of prefix. If they
      are from a different prefix, it sets valid to false.
      
      Test Plan: PrefixTest.PrefixValid
      
      Reviewers: IslamAbdelRahman, sdong, yhchiang, anthony
      
      Reviewed By: anthony
      
      Subscribers: spetrunia, hermanlee4, yoshinorim, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D50211
      9d50afc3
    • I
      Add write_stress to RocksDB Legocastle runs · 14c6e1a0
      Igor Canadi 提交于
      Summary: As title. Let's run it for 1 hour.
      
      Test Plan: How can I test legocastle changes?
      
      Reviewers: IslamAbdelRahman, yhchiang, rven, sdong, anthony, kradhakrishnan
      
      Reviewed By: kradhakrishnan
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D49653
      14c6e1a0
  3. 05 11月, 2015 5 次提交
  4. 04 11月, 2015 5 次提交
    • Y
      Fixed the compile error in RocksDBLite in memory_test.cc · dba5e007
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed the following compile error in RocksDBLite:
      
      18:00:33   CC       utilities/memory/memory_test.o
      18:00:33 utilities/memory/memory_test.cc: In function ‘int main(int, char**)’:
      18:00:33 utilities/memory/memory_test.cc:268:66: error: ‘printf’ was not declared in this scope
      18:00:33    printf("Skipped in RocksDBLite as utilities are not supported.");
      18:00:33                                                                   ^
      
      Test Plan: make OPT=-DROCKSDB_LITE memory_test
      
      Reviewers: igor, sdong, anthony, IslamAbdelRahman
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D50145
      dba5e007
    • Y
      Add Memory Insight support to utilities · 7d7ee2b6
      Yueh-Hsuan Chiang 提交于
      Summary:
      This patch introduces utilities/memory, which currently includes
      GetApproximateMemoryUsageByType that reports different types of
      rocksdb memory usage given a list of input DBs.
      
      The API also take care of the case where Cache could be shared
      across multiple column families / multiple db instances.
      
      Currently, it reports memory usage of memtable, table-readers
      and cache.
      
      Test Plan: utilities/memory/memory_test.cc
      
      Reviewers: igor, anthony, IslamAbdelRahman, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D49257
      7d7ee2b6
    • Y
      Add GetAggregatedIntProperty(): returns the aggregated value from all CFs · 3ecbab00
      Yueh-Hsuan Chiang 提交于
      Summary:
      This patch adds GetAggregatedIntProperty() that returns the aggregated
      value from all CFs
      
      Test Plan: Added a test in db_test
      
      Reviewers: igor, sdong, anthony, IslamAbdelRahman, rven
      
      Reviewed By: rven
      
      Subscribers: rven, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D49497
      3ecbab00
    • S
      Merge branch 'master' of github.com:facebook/rocksdb · 93a96672
      Satnam Singh 提交于
      93a96672
    • S
      Add RocksDb/GeoDb Iterator interface · c9aef3c4
      Satnam Singh 提交于
      Summary:
      This diff is a first step towards an iterator based interface for the
      SearchRadial method which replaces a vector of GeoObjects with an
      iterator for GeoObjects. This diff works by just wrapping the iterator
      for the encapsulated vector of GeoObjects. A future diff could extend
      this approach by defining an interator in terms of the underlying
      iteration in SearchRadial which would then remove the need to have
      an in-memory representation for all the matching GeoObjects.
      Fixes T8421387
      
      Test Plan:
      The existing tests have been modified to work with the new
      interface.
      
      Reviewers: IslamAbdelRahman, kradhakrishnan, dhruba, igor
      
      Reviewed By: igor
      
      Subscribers: igor, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D50031
      c9aef3c4
  5. 03 11月, 2015 7 次提交
  6. 31 10月, 2015 6 次提交
  7. 30 10月, 2015 7 次提交