1. 13 Nov, 2019 1 commit
  2. 08 Nov, 2019 3 commits
  3. 06 Nov, 2019 1 commit
  4. 05 Nov, 2019 1 commit
    • yiwu-arbug's avatar
      Update rocksdb (#376) · 51073a75
      yiwu-arbug authored
      Update rocksdb to include the following changes:
      ```
      d9ac7463e 2019-10-29 yiwu@pingcap.com     Cherry-pick compile error fixes (#129)
      8a63fcbfe 2019-10-29 yiwu@pingcap.com     Fix OnFlushCompleted fired before flush result write to MANIFEST (#5908) (#127)
      ```
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      51073a75
  5. 04 Nov, 2019 2 commits
  6. 03 Nov, 2019 1 commit
  7. 02 Nov, 2019 1 commit
  8. 01 Nov, 2019 2 commits
  9. 31 Oct, 2019 1 commit
  10. 30 Oct, 2019 1 commit
  11. 25 Oct, 2019 1 commit
  12. 22 Oct, 2019 1 commit
  13. 16 Oct, 2019 1 commit
    • yiwu-arbug's avatar
      Temp fix Titan missing blob issue (#355) · 123e9edf
      yiwu-arbug authored
      Update rocksdb and titan with the following changes. The main change is to fix Titan missing blob file issue.
      rocksdb:
      ```
      9ab5a5f9e 2019-10-15 yiwu@pingcap.com     Make WaitForFlushMemTable public (#126)
      ```
      
      titan:
      ```
      0a3f87a 2019-10-15 yiwu@pingcap.com     Temp fix for data loss caused by concurrent flush (#96)
      8ac5003 2019-10-16 zbk602423539@gmail.. merge BackgroundGC with TEST_StartGC (#94)
      b9915d9 2019-10-07 zbk602423539@gmail.. check nullptr (#91)
      280b59d 2019-09-27 yiwu@pingcap.com     Adjust daily benchmark script (#84)
      ```
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      123e9edf
  14. 11 Oct, 2019 1 commit
  15. 27 Sep, 2019 2 commits
  16. 25 Sep, 2019 2 commits
  17. 23 Sep, 2019 1 commit
  18. 17 Sep, 2019 1 commit
  19. 03 Sep, 2019 1 commit
  20. 14 Aug, 2019 1 commit
  21. 07 Aug, 2019 1 commit
  22. 06 Aug, 2019 2 commits
  23. 05 Aug, 2019 1 commit
  24. 31 Jul, 2019 1 commit
  25. 25 Jul, 2019 2 commits
    • yiwu-arbug's avatar
      Avoid build require system zlib (#303) · 6ead62ca
      yiwu-arbug authored
      `register_dep("Z")` correctly set the include path for zlib, but fail to set the path to libz.a. RocksDB cmake script expect libz.a be place under ${DEP_Z_ROOT}/lib, but libz-sys place it under ${DEP_Z_ROOT}/build. Fixed it.
      
      Also added a test to make sure possible compression types are all linked.
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      6ead62ca
    • Wenxuan's avatar
      Skip jemalloc options on specific platform (#324) · 9246b9c5
      Wenxuan authored
      On some platforms jemalloc-sys adds a prefix when building its jemalloc. Thus it is not suitable to use jemalloc-sys to provide a jemalloc in such platforms, otherwise this will lead to a link error.
      9246b9c5
  26. 24 Jul, 2019 1 commit
    • yiwu-arbug's avatar
      Update rocksdb with cherry-picks (#323) · a0d3b924
      yiwu-arbug authored
      Update rocksdb with the following changes:
      
      7a03c83ed 2019-07-23 psergey@askmonty.org Fix MyRocks compile warnings-treated-as-errors on Fedora 30, gcc 9.1.1 (#5553)
      f21404420 2019-06-19 yiwu@pingcap.com     Fix ingested file and direcotry not being sync (#96) (#99)
      a0d3b924
  27. 23 Jul, 2019 3 commits
  28. 22 Jul, 2019 1 commit
    • yiwu-arbug's avatar
      Add jemalloc feature (#319) · d67f38e2
      yiwu-arbug authored
      Adding feature "jemalloc". When enabled, rocksdb "WITH_JEMALLOC" will be enabled. This does NOT affect whether jemalloc is use or not. Mostly it only affect how rocksdb calculate block cache size: if "WITH_JEMALLOC" is on, it will use `malloc_usable_size()` (size allocated by jemalloc) to calculate size of each entry of block cache, instead of the requested size of the allocation.
      
      Tested by running `cargo build --features jemalloc -vv` and check rocksdb compile flags from the output.
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      d67f38e2
  29. 08 Jul, 2019 1 commit
    • dennis zhuang's avatar
      (feat) Supports partitioned index filters settings for BlockBasedOptions (#294) · 56865683
      dennis zhuang authored
      This PR exports more options in RocksDB `BlockBasedTableOptions`, because we want to use [Partitioned Index Filters](https://github.com/facebook/rocksdb/wiki/Partitioned-Index-Filters#how-to-use-it).
      
      There is an issue [cache_index_and_filter_blocks causes Get slowdown](https://github.com/facebook/rocksdb/issues/3961) in rocksdb, and we test the recommend `Partitioned Index Filters` in java JNI binding, it works well.
      
      So i think these options should be exported to rust-rocksdb users too.
      
      The rocksdb log in test case `test_partitioned_index_filters` as below:
      
      ```
        cache_index_and_filter_blocks: 1
        cache_index_and_filter_blocks_with_high_priority: 1
        pin_l0_filter_and_index_blocks_in_cache: 1
        pin_top_level_index_and_filter: 1
        index_type: 2
        hash_index_allow_collision: 1
        checksum: 1
        no_block_cache: 0
        block_cache: 0x7ff4540060d0
        block_cache_name: LRUCache
        block_cache_options:
          capacity : 8388608
          num_shard_bits : 4
          strict_capacity_limit : 0
          memory_allocator : None
          high_pri_pool_ratio: 0.000
        block_cache_compressed: (nil)
        persistent_cache: (nil)
        block_size: 4096
        block_size_deviation: 10
        block_restart_interval: 16
        index_block_restart_interval: 1
        metadata_block_size: 4096
        partition_filters: 1
        use_delta_encoding: 1
        filter_policy: rocksdb.BuiltinBloomFilter
        whole_key_filtering: 1
        verify_compression: 0
        read_amp_bytes_per_bit: 0
        format_version: 2
        enable_index_compression: 1
        block_align: 0
      ```
      
      It looks working.
      
      Thanks you for this great project.
      56865683
  30. 04 Jul, 2019 1 commit