1. 21 Nov, 2014 6 commits
    • Venkatesh Radhakrishnan's avatar
      Moved checkpoint to utilities · 004f416b
      Venkatesh Radhakrishnan authored
      Summary:
      Moved checkpoint to utilities.
      Addressed comments by Igor, Siying, Dhruba
      
      Test Plan: db_test/SnapshotLink
      
      Reviewers: dhruba, igor, sdong
      
      Reviewed By: igor
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D29079
      004f416b
    • Yueh-Hsuan Chiang's avatar
      Fixed ~ThreadStatusImpl(). · beabc687
      Yueh-Hsuan Chiang authored
      beabc687
    • Yueh-Hsuan Chiang's avatar
      Fixed -Werror=unused-but-set-variable in thread_status_impl · fbc42a09
      Yueh-Hsuan Chiang authored
      Summary:
      Fixed -Werror=unused-but-set-variable in thread_status_impl
      fbc42a09
    • Yueh-Hsuan Chiang's avatar
      a564be71
    • Yueh-Hsuan Chiang's avatar
      Fix clang compile error · 7165d188
      Yueh-Hsuan Chiang authored
      7165d188
    • Yueh-Hsuan Chiang's avatar
      Introduce GetThreadList API · d0c5f28a
      Yueh-Hsuan Chiang authored
      Summary:
      Add GetThreadList API, which allows developer to track the
      status of each process.  Currently, calling GetThreadList will
      only get the list of background threads in RocksDB with their
      thread-id and thread-type (priority) set.  Will add more support
      on this in the later diffs.
      
      ThreadStatus currently has the following properties:
      
        // An unique ID for the thread.
        const uint64_t thread_id;
      
        // The type of the thread, it could be ROCKSDB_HIGH_PRIORITY,
        // ROCKSDB_LOW_PRIORITY, and USER_THREAD
        const ThreadType thread_type;
      
        // The name of the DB instance where the thread is currently
        // involved with.  It would be set to empty string if the thread
        // does not involve in any DB operation.
        const std::string db_name;
      
        // The name of the column family where the thread is currently
        // It would be set to empty string if the thread does not involve
        // in any column family.
        const std::string cf_name;
      
        // The event that the current thread is involved.
        // It would be set to empty string if the information about event
        // is not currently available.
      
      Test Plan:
      ./thread_list_test
      export ROCKSDB_TESTS=GetThreadList
      ./db_test
      
      Reviewers: rven, igor, sdong, ljin
      
      Reviewed By: ljin
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D25047
      d0c5f28a
  2. 20 Nov, 2014 4 commits
  3. 19 Nov, 2014 8 commits
  4. 18 Nov, 2014 6 commits
  5. 17 Nov, 2014 2 commits
  6. 16 Nov, 2014 6 commits
  7. 15 Nov, 2014 8 commits