1. 25 11月, 2014 4 次提交
  2. 22 11月, 2014 4 次提交
  3. 21 11月, 2014 3 次提交
    • Y
      Add enable_thread_tracking to DBOptions · 4b63fcbf
      Yueh-Hsuan Chiang 提交于
      Summary:
      Add enable_thread_tracking to DBOptions to allow
      tracking thread status related to the DB.  Default is off.
      
      Test Plan:
      export ROCKSDB_TESTS=ThreadList
      ./db_test
      
      Reviewers: ljin, sdong, igor
      
      Reviewed By: igor
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D29289
      4b63fcbf
    • V
      Moved checkpoint to utilities · 004f416b
      Venkatesh Radhakrishnan 提交于
      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
    • Y
      Introduce GetThreadList API · d0c5f28a
      Yueh-Hsuan Chiang 提交于
      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
  4. 19 11月, 2014 2 次提交
  5. 17 11月, 2014 1 次提交
  6. 15 11月, 2014 10 次提交
  7. 14 11月, 2014 6 次提交
  8. 12 11月, 2014 3 次提交
    • Y
      Fixed clang compile error in version_builder_test · 97594952
      Yueh-Hsuan Chiang 提交于
      Summary: Fixed clang compile error in version_builder_test
      
      Test Plan: ./version_builder_test
      
      Reviewers: igor, sdong
      
      Reviewed By: sdong
      
      Subscribers: sdong, dhruba
      
      Differential Revision: https://reviews.facebook.net/D28731
      97594952
    • Y
      Fixed GetEstimatedActiveKeys · 58114193
      Yueh-Hsuan Chiang 提交于
      Summary:
      Fixed a bug in GetEstimatedActiveKeys which does not normalized
      the sampled information correctly.
      
      Add a test in version_builder_test.
      
      Test Plan: version_builder_test
      
      Reviewers: ljin, igor, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28707
      58114193
    • I
      Turn on -Wshorten-64-to-32 and fix all the errors · 767777c2
      Igor Canadi 提交于
      Summary:
      We need to turn on -Wshorten-64-to-32 for mobile. See D1671432 (internal phabricator) for details.
      
      This diff turns on the warning flag and fixes all the errors. There were also some interesting errors that I might call bugs, especially in plain table. Going forward, I think it makes sense to have this flag turned on and be very very careful when converting 64-bit to 32-bit variables.
      
      Test Plan: compiles
      
      Reviewers: ljin, rven, yhchiang, sdong
      
      Reviewed By: yhchiang
      
      Subscribers: bobbaldwin, dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28689
      767777c2
  9. 11 11月, 2014 4 次提交
  10. 08 11月, 2014 3 次提交