1. 13 11月, 2014 6 次提交
  2. 12 11月, 2014 4 次提交
  3. 11 11月, 2014 11 次提交
  4. 10 11月, 2014 4 次提交
  5. 09 11月, 2014 6 次提交
  6. 08 11月, 2014 9 次提交
    • F
      Expose sst_dump functionality as library call. · 543df158
      Federico Piccinini 提交于
      Summary:
      Refactor sst_dump to follow the same structure as ldb. Introduce a
      SSTDump interface.
      
      Test Plan: built sst_dump and tried it manually.
      
      Reviewers: sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28485
      543df158
    • I
      Get rid of mutex in CompactionJob's state · e3d3567b
      Igor Canadi 提交于
      Summary: Based on @sdong's feedback in the diff, we shouldn't keep db_mutex in CompactionJob's state. This diff removes db_mutex from CompactionJob state, by making next_file_number_ atomic. That way we only need to pass the lock to InstallCompactionResults() because of LogAndApply()
      
      Test Plan: make check
      
      Reviewers: ljin, yhchiang, rven, sdong
      
      Reviewed By: sdong
      
      Subscribers: sdong, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28491
      e3d3567b
    • Y
      Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h · 344edbb0
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h
      
      Test Plan:
      make
      344edbb0
    • Y
      Fixed compile error in db/db_impl.cc · b8b39034
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed compile error in db/db_impl.cc
      
      Test Plan:
      make
      b8b39034
    • Y
      Fixed compile error in db/flush_job.cc · b622ba5d
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed compile error in db/flush_job.cc
      
      Test Plan:
      make
      b622ba5d
    • Y
      Fixed compile error in db/compaction.cc and db/compaction_picker.cc · 642ac9d8
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed compile error in db/compaction.cc and db/compaction_picker.cc
      
      Test Plan:
      make
      642ac9d8
    • I
      Fix -Wshadow for tools · 68effa03
      Igor Canadi 提交于
      Summary: Previously I made `make check` work with -Wshadow, but there are some tools that are not compiled using `make check`.
      
      Test Plan: make all
      
      Reviewers: yhchiang, rven, ljin, sdong
      
      Reviewed By: ljin, sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28497
      68effa03
    • Y
      Fixed -WShadow errors in db/db_test.cc and include/rocksdb/metadata.h · 84478618
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed -WShadow errors in db/db_test.cc and include/rocksdb/metadata.h
      
      Test Plan:
      make
      84478618
    • Y
      CompactFiles, EventListener and GetDatabaseMetaData · 28c82ff1
      Yueh-Hsuan Chiang 提交于
      Summary:
      This diff adds three sets of APIs to RocksDB.
      
      = GetColumnFamilyMetaData =
      * This APIs allow users to obtain the current state of a RocksDB instance on one column family.
      * See GetColumnFamilyMetaData in include/rocksdb/db.h
      
      = EventListener =
      * A virtual class that allows users to implement a set of
        call-back functions which will be called when specific
        events of a RocksDB instance happens.
      * To register EventListener, simply insert an EventListener to ColumnFamilyOptions::listeners
      
      = CompactFiles =
      * CompactFiles API inputs a set of file numbers and an output level, and RocksDB
        will try to compact those files into the specified level.
      
      = Example =
      * Example code can be found in example/compact_files_example.cc, which implements
        a simple external compactor using EventListener, GetColumnFamilyMetaData, and
        CompactFiles API.
      
      Test Plan:
      listener_test
      compactor_test
      example/compact_files_example
      export ROCKSDB_TESTS=CompactFiles
      db_test
      export ROCKSDB_TESTS=MetaData
      db_test
      
      Reviewers: ljin, igor, rven, sdong
      
      Reviewed By: sdong
      
      Subscribers: MarkCallaghan, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D24705
      28c82ff1