1. 09 4月, 2014 2 次提交
  2. 08 4月, 2014 1 次提交
  3. 07 4月, 2014 2 次提交
  4. 04 4月, 2014 1 次提交
  5. 03 4月, 2014 9 次提交
  6. 02 4月, 2014 6 次提交
  7. 01 4月, 2014 6 次提交
  8. 30 3月, 2014 2 次提交
    • Y
      Minor fix in rocksdb jni library. · 5ec38c3d
      Yueh-Hsuan Chiang 提交于
      Summary: Fix a bug in RocksDBSample.java and minor code improvement in rocksjni.cc.
      
      Test Plan:
      make jni
      make jtest
      
      Reviewers: haobo, sdong
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D17325
      5ec38c3d
    • I
      More valgrind issues! · 8a139a05
      Igor Canadi 提交于
      Summary: Fix some more CompactionFilterV2 valgrind issues. Maybe it would make sense for CompactionFilterV2 to delete its prefix_extractor?
      
      Test Plan: ran CompactionFilterV2* tests with valgrind. issues before patch -> no issues after
      
      Reviewers: haobo, sdong, ljin, dhruba
      
      Reviewed By: dhruba
      
      CC: leveldb, danguo
      
      Differential Revision: https://reviews.facebook.net/D17337
      8a139a05
  9. 29 3月, 2014 9 次提交
    • L
      dynamicbloom fix: don't offset address when it is already aligned · 550cca71
      Lei Jin 提交于
      Summary: this causes overflow and asan failure
      
      Test Plan: make asan_check
      
      Reviewers: igor
      
      Reviewed By: igor
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D17301
      550cca71
    • S
      Change default value of some Options · 43a593a6
      sdong 提交于
      Summary: Since we are optimizing for server workloads, some default values are not optimized any more. We change some of those values that I feel it's less prone to regression bugs.
      
      Test Plan: make all check
      
      Reviewers: dhruba, haobo, ljin, igor, yhchiang
      
      Reviewed By: igor
      
      CC: leveldb, MarkCallaghan
      
      Differential Revision: https://reviews.facebook.net/D16995
      43a593a6
    • S
      MemTableIterator not to reference Memtable · 2d3468c2
      sdong 提交于
      Summary: In one of the perf, I shows 10%-25% CPU costs of MemTableIterator.Seek(), when doing dynamic prefix seek, are spent on checking whether we need to do bloom filter check or finding out the prefix extractor. Seems that  more level of pointer checking makes CPU cache miss more likely. This patch makes things slightly simpler by copying pointer of bloom of prefix extractor into the iterator.
      
      Test Plan: make all check
      
      Reviewers: haobo, ljin
      
      Reviewed By: ljin
      
      CC: igor, dhruba, yhchiang, leveldb
      
      Differential Revision: https://reviews.facebook.net/D17247
      2d3468c2
    • L
      fix the buffer overflow in dynamic_bloom_test · c8bb7997
      Lei Jin 提交于
      Summary: int -> uint64_t
      
      Test Plan:
      it think it is pretty obvious
      will run asan_check before committing
      
      Reviewers: igor, haobo
      
      Reviewed By: igor
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D17241
      c8bb7997
    • D
      Geo spatial support. · 96e2c2c0
      Dhruba Borthakur 提交于
      Summary:
      
      Test Plan:
      
      Reviewers:
      
      CC:
      
      Task ID: #
      
      Blame Rev:
      96e2c2c0
    • D
      A GIS implementation for rocksdb. · 4031b983
      Dhruba Borthakur 提交于
      Summary:
          This patch stores gps locations in rocksdb.
      
          Each object is uniquely identified by an id. Each object has
          a gps (latitude, longitude) associated with it. The geodb
          supports looking up an object either by its gps location
          or by its id. There is a method to retrieve all objects
          within a circular radius centered at a specified gps location.
      
      Test Plan: Simple unit-test attached.
      
      Reviewers: leveldb, haobo
      
      Reviewed By: haobo
      
      CC: leveldb, tecbot, haobo
      
      Differential Revision: https://reviews.facebook.net/D15567
      4031b983
    • I
      Don't preallocate log files · 64ae6e9e
      Igor Canadi 提交于
      64ae6e9e
    • Y
      Add a jni library for rocksdb which supports Open, Get, Put, and Close. · 0d463a36
      Yueh-Hsuan Chiang 提交于
      Summary:
      This diff contains a simple jni library for rocksdb which supports open, get,
      put and closeusing default options (including Options, ReadOptions, and
      WriteOptions.)  In the usual case, Java developers can use the c++ rocksdb
      library in the way similar to the following:
      
          RocksDB db = RocksDB.open(path_to_db);
          ...
          db.put("hello".getBytes(), "world".getBytes();
          byte[] value = db.get("hello".getBytes());
          ...
          db.close();
      
      Specifically, this diff has the following major classes:
      
      * RocksDB: a Java wrapper class which forwards the operations
        from the java side to c++ rocksdb library.
      * RocksDBException: ncapsulates the error of an operation.
        This exception type is used to describe an internal error from
        the c++ rocksdb library.
      
      This diff also include a simple java sample code calling c++ rocksdb library.
      
      To build the rocksdb jni library, simply run make jni, and make jtest will try to
      build and run the sample code.
      
      Note that if the rocksdb is not built with the default glibc that Java uses,
      java will try to load the wrong glibc during the run time.  As a result,
      the sample code might not work properly during the run time.
      
      Test Plan:
      * make jni
      * make jtest
      
      Reviewers: haobo, dhruba, sdong, igor, ljin
      
      Reviewed By: dhruba
      
      CC: leveldb, xjin
      
      Differential Revision: https://reviews.facebook.net/D17109
      0d463a36
    • L
      cache friendly blocked bloomfilter · 0d755fff
      Lei Jin 提交于
      Summary:
      By constraining the probes within cache line(s), we can improve the
      cache miss rate thus performance. This probably only makes sense for
      in-memory workload so defaults the option to off.
      
      Numbers and comparision can be found in wiki:
      https://our.intern.facebook.com/intern/wiki/index.php/Ljin/rocksdb_perf/2014_03_17#Bloom_Filter_Study
      
      Test Plan: benchmarked this change substantially. Will run make all check as well
      
      Reviewers: haobo, igor, dhruba, sdong, yhchiang
      
      Reviewed By: haobo
      
      CC: leveldb
      
      Differential Revision: https://reviews.facebook.net/D17133
      0d755fff
  10. 28 3月, 2014 2 次提交