1. 09 11月, 2016 1 次提交
  2. 04 11月, 2016 1 次提交
  3. 02 11月, 2016 1 次提交
  4. 13 9月, 2016 1 次提交
  5. 10 9月, 2016 1 次提交
  6. 28 4月, 2016 1 次提交
    • A
      Shared dictionary compression using reference block · 843d2e31
      Andrew Kryczka 提交于
      Summary:
      This adds a new metablock containing a shared dictionary that is used
      to compress all data blocks in the SST file. The size of the shared dictionary
      is configurable in CompressionOptions and defaults to 0. It's currently only
      used for zlib/lz4/lz4hc, but the block will be stored in the SST regardless of
      the compression type if the user chooses a nonzero dictionary size.
      
      During compaction, computes the dictionary by randomly sampling the first
      output file in each subcompaction. It pre-computes the intervals to sample
      by assuming the output file will have the maximum allowable length. In case
      the file is smaller, some of the pre-computed sampling intervals can be beyond
      end-of-file, in which case we skip over those samples and the dictionary will
      be a bit smaller. After the dictionary is generated using the first file in a
      subcompaction, it is loaded into the compression library before writing each
      block in each subsequent file of that subcompaction.
      
      On the read path, gets the dictionary from the metablock, if it exists. Then,
      loads that dictionary into the compression library before reading each block.
      
      Test Plan: new unit test
      
      Reviewers: yhchiang, IslamAbdelRahman, cyan, sdong
      
      Reviewed By: sdong
      
      Subscribers: andrewkr, yoshinorim, kradhakrishnan, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D52287
      843d2e31
  7. 23 4月, 2016 2 次提交
  8. 18 7月, 2015 1 次提交
    • I
      Deprecate CompactionFilterV2 · a96fcd09
      Igor Canadi 提交于
      Summary: It has been around for a while and it looks like it never found any uses in the wild. It's also complicating our compaction_job code quite a bit. We're deprecating it in 3.13, but will put it back in 3.14 if we actually find users that need this feature.
      
      Test Plan: make check
      
      Reviewers: noetzli, yhchiang, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D42405
      a96fcd09
  9. 02 7月, 2015 1 次提交
    • D
      Windows Port from Microsoft · 18285c1e
      Dmitri Smirnov 提交于
       Summary: Make RocksDb build and run on Windows to be functionally
       complete and performant. All existing test cases run with no
       regressions. Performance numbers are in the pull-request.
      
       Test plan: make all of the existing unit tests pass, obtain perf numbers.
      
       Co-authored-by: Praveen Rao praveensinghrao@outlook.com
       Co-authored-by: Sherlock Huang baihan.huang@gmail.com
       Co-authored-by: Alex Zinoviev alexander.zinoviev@me.com
       Co-authored-by: Dmitri Smirnov dmitrism@microsoft.com
      18285c1e
  10. 18 6月, 2015 1 次提交
  11. 09 6月, 2015 1 次提交
  12. 04 6月, 2015 3 次提交
  13. 30 5月, 2015 1 次提交
  14. 24 2月, 2015 1 次提交
  15. 09 2月, 2015 1 次提交
  16. 07 2月, 2015 1 次提交
  17. 26 11月, 2014 1 次提交
  18. 15 11月, 2014 1 次提交
  19. 12 11月, 2014 1 次提交
    • I
      Turn on -Wshorten-64-to-32 and fix all the errors · 767777c2
      Igor Canadi 提交于
      Summary:
      We need to turn on -Wshorten-64-to-32 for mobile. See D1671432 (internal phabricator) for details.
      
      This diff turns on the warning flag and fixes all the errors. There were also some interesting errors that I might call bugs, especially in plain table. Going forward, I think it makes sense to have this flag turned on and be very very careful when converting 64-bit to 32-bit variables.
      
      Test Plan: compiles
      
      Reviewers: ljin, rven, yhchiang, sdong
      
      Reviewed By: yhchiang
      
      Subscribers: bobbaldwin, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28689
      767777c2
  20. 01 11月, 2014 2 次提交
    • L
      fix c_test · 82e3ae54
      Lei Jin 提交于
      Summary: as title
      
      Test Plan: ./c_test
      
      Reviewers: igor
      
      Reviewed By: igor
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28119
      82e3ae54
    • I
      Turn on -Wshadow · 9f7fc3ac
      Igor Canadi 提交于
      Summary:
      ...and fix all the errors :)
      
      Jim suggested turning on -Wshadow because it helped him fix number of critical bugs in fbcode. I think it's a good idea to be -Wshadow clean.
      
      Test Plan: compiles
      
      Reviewers: yhchiang, rven, sdong, ljin
      
      Reviewed By: ljin
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D27711
      9f7fc3ac
  21. 27 8月, 2014 1 次提交
  22. 26 8月, 2014 1 次提交
  23. 21 8月, 2014 1 次提交
  24. 19 8月, 2014 1 次提交
  25. 13 8月, 2014 1 次提交
  26. 08 8月, 2014 2 次提交
  27. 07 8月, 2014 1 次提交
  28. 11 7月, 2014 1 次提交
  29. 08 7月, 2014 2 次提交
  30. 07 7月, 2014 1 次提交
  31. 06 7月, 2014 1 次提交
  32. 01 7月, 2014 1 次提交
    • F
      use arena to allocate memtable's bloomfilter and hashskiplist's buckets_ · 56563674
      Feng Zhu 提交于
      Summary:
          Bloomfilter and hashskiplist's buckets_ allocated by memtable's arena
          DynamicBloom: pass arena via constructor, allocate space in SetTotalBits
          HashSkipListRep: allocate space of buckets_ using arena.
             do not delete it in deconstructor because arena would take care of it.
          Several test files are changed.
      
      Test Plan:
          make all check
      
      Reviewers: ljin, haobo, yhchiang, sdong
      
      Reviewed By: sdong
      
      Subscribers: igor, dhruba
      
      Differential Revision: https://reviews.facebook.net/D19335
      56563674
  33. 19 6月, 2014 1 次提交
  34. 26 4月, 2014 1 次提交