1. 15 8月, 2014 2 次提交
    • Y
      [Java] Add purgeOldBackups API · 2da53b1e
      Yueh-Hsuan Chiang 提交于
      Summary:
      1. Check status of CreateNewBackup. If status is not OK, then throw.
      2. Add purgeOldBackups API
      
      Test Plan:
      make test
      make sample
      
      Reviewers: haobo, sdong, zzbennett, swapnilghike, yhchiang
      
      Reviewed By: yhchiang
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21753
      2da53b1e
    • F
      fix_sst_dump_for_old_sst_format · 6c4c159b
      Feng Zhu 提交于
      Summary:
      1. fix segment error when dumping old sst format (no properties nor stats)
      2. Enable dumpping old sst format
      
      Test Plan:
      Generate block based sst file with "properties", and one with "stats" and one without neither.
      Read it using sst_dump
      
      Reviewers: ljin, igor, yhchiang, dhruba, sdong
      
      Reviewed By: sdong
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21837
      6c4c159b
  2. 14 8月, 2014 6 次提交
  3. 13 8月, 2014 6 次提交
  4. 12 8月, 2014 6 次提交
    • 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
    • L
      make statistics ToString function empty instead of pure virtual · 37c6740c
      Lei Jin 提交于
      Summary: as title
      
      Test Plan: make release
      
      Reviewers: yhchiang, sdong
      
      Reviewed By: sdong
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21549
      37c6740c
    • S
      Merge pull request #228 from miguelportilla/develop · 18efdba8
      Siying Dong 提交于
      Changes to support unity build:
      
      Script for building the unity.cc file via Makefile
      Unity executable Makefile target for testing builds
      Source code changes to fix compilation of unity build
      18efdba8
    • F
      check prefix_size when using hash search in db_bench · d3f2ec69
      Feng Zhu 提交于
      Summary:
      1. Check prefix_size when enable use_hash_search in db_bench
      2. Remove include/statistics.h in db_bench
      
      Test Plan: ./db_bench --use_hash_search=1
      
      Reviewers: ljin, yhchiang, igor, sdong
      
      Reviewed By: sdong
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D21375
      d3f2ec69
    • M
      Changes to support unity build: · 93e6b5e9
      miguelportilla 提交于
      * Script for building the unity.cc file via Makefile
      * Unity executable Makefile target for testing builds
      * Source code changes to fix compilation of unity build
      93e6b5e9
  5. 09 8月, 2014 4 次提交
  6. 08 8月, 2014 3 次提交
  7. 07 8月, 2014 7 次提交
  8. 06 8月, 2014 3 次提交
  9. 05 8月, 2014 1 次提交
  10. 02 8月, 2014 1 次提交
    • I
      Simplify SpatialIndexCursor · 5e3d5c5f
      Igor Canadi 提交于
      Summary:
      Since we have enough memory to hold all primary keys loaded from spatial index, it is better if we first load all of them (store them in unordered_set for deduplication) and then query on primary key column family one by one.
      
      We need to dedup all IDs, so we'll end up storing all of them in memory even with the current approach.
      
      Test Plan: ./spatial_db_test is happy
      
      Reviewers: yinwang
      
      Reviewed By: yinwang
      
      Subscribers: leveldb
      
      Differential Revision: https://reviews.facebook.net/D20949
      5e3d5c5f
  11. 01 8月, 2014 1 次提交