1. 07 4月, 2017 3 次提交
    • A
      Fix CompactRange incorrect buffer release · 1d068f60
      Ayappan 提交于
      Summary:
      While running `make jtest` using IBM Java, it fails at compactRangeToLevel with the below error.
      
      ```
      Run: org.rocksdb.RocksDBTest testing now -> compactRangeToLevel
      JVMJNCK056E JNI error in ReleaseByteArrayElements: Got memory 0x00003FFF94AA8908 from object 0x00000000000C7F78, releasing from 0x00000000000C7F68
      JVMJNCK077E Error detected in org/rocksdb/RocksDB.compactRange0(J[BI[BIZII)V
      
      JVMJNCK024E JNI error detected. Aborting.
      JVMJNCK025I Use -Xcheck:jni:nonfatal to continue running when errors are detected.
      
      Fatal error: JNI error
      Makefile:205: recipe for target 'run_test' failed
      make[1]: *** [run_test] Error 87
      make[1]: Leaving directory '/home/ubuntu/rocksdb/java'
      Makefile:1542: recipe for target 'jtest' failed
      make: *** [jtest] Error 2
      ```
      
      After checking the code, it is vivid that we are messing up the `ReleaseByteArrayElements` args in `rocksdb_compactrange_helper`.
      
      ```
         .................
         1959     s = db->CompactRange(compact_options, &begin_slice, &end_slice);
         1960   }
      Closes https://github.com/facebook/rocksdb/pull/2060
      
      Differential Revision: D4831427
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: dd02037
      1d068f60
    • Y
      Move memtable related files into memtable directory · df6f5a37
      Yi Wu 提交于
      Summary:
      Move memtable related files into memtable directory.
      Closes https://github.com/facebook/rocksdb/pull/2087
      
      Differential Revision: D4829242
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: ca70ab6
      df6f5a37
    • T
      CMake: more MinGW fixes · 107c5f6a
      Tamir Duberstein 提交于
      Summary:
      siying this is a resubmission of #2081 with the 4th commit fixed. From that commit message:
      
      > Note that the previous use of quotes in PLATFORM_{CC,CXX}FLAGS was
      incorrect and caused GCC to produce the incorrect define:
      >
      >  #define ROCKSDB_JEMALLOC -DJEMALLOC_NO_DEMANGLE 1
      >
      > This was the cause of the Linux build failure on the previous version
      of this change.
      
      I've tested this locally, and the Linux build succeeds now.
      Closes https://github.com/facebook/rocksdb/pull/2097
      
      Differential Revision: D4839964
      
      Pulled By: siying
      
      fbshipit-source-id: cc51322
      107c5f6a
  2. 06 4月, 2017 7 次提交
    • S
      Move some files under util/ to separate dirs · d2dce561
      Siying Dong 提交于
      Summary:
      Move some files under util/ to new directories env/, monitoring/ options/ and cache/
      Closes https://github.com/facebook/rocksdb/pull/2090
      
      Differential Revision: D4833681
      
      Pulled By: siying
      
      fbshipit-source-id: 2fd8bef
      d2dce561
    • I
      Use a human readable size for level report · c50e3750
      Islam AbdelRahman 提交于
      Summary:
      Current
      ```
      ** Compaction Stats [default] **
      Level    Files   Size(MB} Score Read(GB}  Rn(GB} Rnp1(GB} Write(GB} Wnew(GB} Moved(GB} W-Amp Rd(MB/s} Wr(MB/s} Comp(sec} Comp(cnt} Avg(sec} KeyIn KeyDrop
      ----------------------------------------------------------------------------------------------------------------------------------------------------------
        L0      2/0      49.02   0.5      0.0     0.0      0.0       0.0      0.0       0.0   0.0      0.0     76.1         1         2    0.322       0      0
       Sum      2/0      49.02   0.0      0.0     0.0      0.0       0.0      0.0       0.0   1.0      0.0     76.1         1         2    0.322       0      0
       Int      0/0       0.00   0.0      0.0     0.0      0.0       0.0      0.0       0.0   1.0      0.0     76.1         1         2    0.322       0      0
      ```
      
      New
      ```
      ** Compaction Stats [default] **
      Level    Files   Size     Score Read(GB)  Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) Comp(cnt) Avg(sec) KeyIn Key
      Closes https://github.com/facebook/rocksdb/pull/2055
      
      Differential Revision: D4804576
      
      Pulled By: IslamAbdelRahman
      
      fbshipit-source-id: 719be6a
      c50e3750
    • S
      Divide db/db_impl.cc · ce64b8b7
      Siying Dong 提交于
      Summary:
      db_impl.cc is too large to manage. Divide db_impl.cc into db/db_impl.cc, db/db_impl_compaction_flush.cc, db/db_impl_files.cc, db/db_impl_open.cc and db/db_impl_write.cc.
      Closes https://github.com/facebook/rocksdb/pull/2095
      
      Differential Revision: D4838188
      
      Pulled By: siying
      
      fbshipit-source-id: c5f3059
      ce64b8b7
    • A
      Revert "delete fallocate with punch_hole" · 02799ad7
      Aaron Gao 提交于
      Summary:
      This reverts commit 0fd57492.
      It breaks tmpfs on kernel 4.0 or earlier. We will wait for the fix before remove this part
      Closes https://github.com/facebook/rocksdb/pull/2096
      
      Differential Revision: D4839661
      
      Pulled By: lightmark
      
      fbshipit-source-id: 574a51f
      02799ad7
    • M
      Release note for partition filters · e2a7b202
      Maysam Yabandeh 提交于
      Summary:
      I tagged it experimental since the configuring the filter partitions by size will not be ready for this release.
      Closes https://github.com/facebook/rocksdb/pull/2049
      
      Differential Revision: D4831575
      
      Pulled By: maysamyabandeh
      
      fbshipit-source-id: fcc2d25
      e2a7b202
    • A
      build db every monday · af256eb2
      Aaron Gao 提交于
      Summary:
      Rebuilding regression db at the first run every monday.
      Closes https://github.com/facebook/rocksdb/pull/2093
      
      Differential Revision: D4836961
      
      Pulled By: lightmark
      
      fbshipit-source-id: 22d6c25
      af256eb2
    • D
      Rework test running script. · e5a1372b
      Dmitri Smirnov 提交于
      Summary:
      Rework test running script.
        New options SuiteRun - runs specified executables as google suite
        test cases in parallel.
        Run - this option now runs executables in parallel the same as 'tests'
        RunAll - scans for test executables and attempts to run them all
        as suites except those mentiones in RunOnly (hardcoded in the script)
        or specified either in $ExcludeTestCases $ExcludeTestExe
      Closes https://github.com/facebook/rocksdb/pull/2089
      
      Differential Revision: D4832212
      
      Pulled By: yiwu-arbug
      
      fbshipit-source-id: 954990c
      e5a1372b
  3. 05 4月, 2017 8 次提交
  4. 04 4月, 2017 8 次提交
  5. 01 4月, 2017 4 次提交
  6. 31 3月, 2017 8 次提交
  7. 30 3月, 2017 2 次提交