1. 21 8月, 2014 5 次提交
  2. 20 8月, 2014 1 次提交
  3. 19 8月, 2014 9 次提交
    • I
      Remove BitStream* tests · 6929b086
      Igor Canadi 提交于
      6929b086
    • I
      Removing BitStream* functions · 50b790c6
      Igor Canadi 提交于
      Summary: I was checking some functions in coding.h and coding.cc when I noticed these unused functions. Let's remove them.
      
      Test Plan: compiles
      
      Reviewers: sdong, ljin, yhchiang, dhruba
      
      Reviewed By: dhruba
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D22077
      50b790c6
    • R
      Adding Column Family support in db_bench. · 162b8151
      Radheshyam Balasundaram 提交于
      Summary:
      Adding num_column_families flag. Adding support for column families in DoWrite and ReadRandom methods.
      [Igor, please let me know if this approach sounds good. I shall add it to other methods too.]
      
      Test Plan: Ran fillseq on 1M keys and 10 Column families and ran readrandom.
      
      Reviewers: sdong, yhchiang, igor, ljin
      
      Reviewed By: ljin
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21387
      162b8151
    • S
      WriteBatchWithIndex: a wrapper of WriteBatch, with a searchable index · 28b5c760
      sdong 提交于
      Summary:
      Add WriteBatchWithIndex so that a user can query data out of a WriteBatch, to support MongoDB's read-its-own-write.
      
      WriteBatchWithIndex uses a skiplist to store the binary index. The index stores the offset of the entry in the write batch. When searching for a key, the key for the entry is read by read the entry from the write batch from the offset.
      
      Define a new iterator class for querying data out of WriteBatchWithIndex. A user can create an iterator of the write batch for one column family, seek to a key and keep calling Next() to see next entries.
      
      I will add more unit tests if people are OK about this API.
      
      Test Plan:
      make all check
      Add unit tests.
      
      Reviewers: yhchiang, igor, MarkCallaghan, ljin
      
      Reviewed By: ljin
      
      Subscribers: dhruba, leveldb, xjin
      
      Differential Revision: https://reviews.facebook.net/D21381
      28b5c760
    • S
      Update release note of 3.4 · 5585e002
      sdong 提交于
      Summary: N/A
      
      Test Plan: N/A
      
      Reviewers: yhchiang, ljin
      
      Reviewed By: ljin
      
      Subscribers: dhruba, leveldb, igor
      
      Differential Revision: https://reviews.facebook.net/D22053
      5585e002
    • S
      Bump up version · 68eed8c9
      sdong 提交于
      Summary: Bump up version after we've cut 3.4
      
      Test Plan: N/A
      
      Reviewers: yhchiang, ljin
      
      Reviewed By: ljin
      
      Subscribers: leveldb, dhruba, igor
      
      Differential Revision: https://reviews.facebook.net/D22047
      68eed8c9
    • R
      Adding Cuckoo Table SST option to db_bench · 36e759d1
      Radheshyam Balasundaram 提交于
      Summary: Adding flags to use cuckoo table SST in db_bench.cc
      
      Test Plan: Ran benchmark with fillseq and readrandom
      
      Reviewers: sdong, ljin
      
      Reviewed By: ljin
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21729
      36e759d1
    • I
      Fix valgrind error in c_test · a6fd14c8
      Igor Canadi 提交于
      a6fd14c8
    • L
      attempt to fix auto_roll_logger_test · c7037153
      Lei Jin 提交于
      Summary:
      auto_roll_logger_test fails from time to time. I wasn't able to repro
      the issue but by looking at the code, it seems like the initial ctime_
      value can be set to the boundary of the second so it may still have a
      chance to get rolled when interval is set to 1 second.
      
      ```
      util/auto_roll_logger_test.cc:120: failed: 118 > 708
      ==19470== Syscall param msync(start) points to unaddressable byte(s)
      ==19470==    at 0x4E46CE0: __msync_nocancel (in
      /usr/local/fbcode/gcc-4.8.1-glibc-2.17/lib/libpthread-2.17.so)
      ==19470==    by 0x584EFB: access_mem (Ginit.c:137)
      ==19470==    by 0x5834E3: _ULx86_64_access_reg (libunwind_i.h:162)
      ==19470==    by 0x585601: apply_reg_state (Gparser.c:742)
      ==19470==    by 0x5866BE: _ULx86_64_dwarf_find_save_locs (Gparser.c:883)
      ==19470==    by 0x584550: _ULx86_64_dwarf_step (Gstep.c:34)
      ==19470==    by 0x583653: _ULx86_64_step (Gstep.c:71)
      ==19470==    by 0x583FD2: _ULx86_64_tdep_trace (Gtrace.c:217)
      ==19470==    by 0x5831C3: backtrace (backtrace.c:69)
      
      Test Plan: ./auto_roll_logger_test
      
      Reviewers: sdong, yhchiang, igor
      
      Reviewed By: igor
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21951
      c7037153
  4. 18 8月, 2014 1 次提交
  5. 16 8月, 2014 1 次提交
  6. 15 8月, 2014 6 次提交
  7. 14 8月, 2014 7 次提交
  8. 13 8月, 2014 8 次提交
  9. 12 8月, 2014 2 次提交
    • S
      Flush only one column family · 06a52bda
      Stanislau Hlebik 提交于
      Summary:
      Currently DBImpl::Flush() triggers flushes in all column families.
      Instead we need to trigger just the column family specified.
      
      Test Plan: make all check
      
      Reviewers: igor, ljin, yhchiang, sdong
      
      Reviewed By: sdong
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D20841
      06a52bda
    • R
      Integrating Cuckoo Hash SST Table format into RocksDB · 9674c11d
      Radheshyam Balasundaram 提交于
      Summary:
      Contains the following changes:
      - Implementation of cuckoo_table_factory
      - Adding cuckoo table into AdaptiveTableFactory
      - Adding cuckoo_table_db_test, similar to lines of plain_table_db_test
      - Minor fixes to Reader: When a key is found in the table, return the key found instead of the search key.
      - Minor fixes to Builder: Add table properties that are required by Version::UpdateTemporaryStats() during Get operation. Don't define curr_node as a reference variable as the memory locations may get reassigned during tree.push_back operation, leading to invalid memory access.
      
      Test Plan:
      cuckoo_table_reader_test --enable_perf
      cuckoo_table_builder_test
      cuckoo_table_db_test
      make check all
      make valgrind_check
      make asan_check
      
      Reviewers: sdong, igor, yhchiang, ljin
      
      Reviewed By: ljin
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21219
      9674c11d