1. 06 10月, 2013 1 次提交
  2. 05 10月, 2013 1 次提交
  3. 24 8月, 2013 1 次提交
  4. 22 5月, 2013 1 次提交
    • H
      [RocksDB] Fix PosixLogger and AutoRollLogger thread safety · 839f6db7
      Haobo Xu 提交于
      Summary:
      PosixLogger and AutoRollLogger do not seem to be thread safe.
      For PosixLogger, log_size_ is not atomically updated.
      For AutoRollLogger, the underlying logger_ might be deleted by
      one thread while still being accessed by another.
      
      Test Plan: make check
      
      Reviewers: kailiu, dhruba, heyongqiang
      
      Reviewed By: kailiu
      
      CC: leveldb, zshao, sheki
      
      Differential Revision: https://reviews.facebook.net/D9699
      839f6db7
  5. 13 3月, 2013 1 次提交
  6. 19 2月, 2013 1 次提交
    • K
      Fix the "IO error" in auto_roll_logger_test · 45f00304
      Kai Liu 提交于
      Summary:
      
      I missed InitTestDb() in one of my tess. InitTestDb() initializes the test directory, without which the test will throw IO error.
      
      This problem didn't occur before because I've already run the tests before so the test directory is already there.
      
      Test Plan:
      
      Reviewers: dhruba
      
      CC:
      
      Task ID: #
      
      Blame Rev:
      45f00304
  7. 14 2月, 2013 1 次提交
  8. 05 2月, 2013 1 次提交
    • K
      Allow the logs to be purged by TTL. · b63aafce
      Kai Liu 提交于
      Summary:
      * Add a SplitByTTLLogger to enable this feature. In this diff I implemented generalized AutoSplitLoggerBase class to simplify the
      development of such classes.
      * Refactor the existing AutoSplitLogger and fix several bugs.
      
      Test Plan:
      * Added a unit tests for different types of "auto splitable" loggers individually.
      * Tested the composited logger which allows the log files to be splitted by both TTL and log size.
      
      Reviewers: heyongqiang, dhruba
      
      Reviewed By: heyongqiang
      
      CC: zshao, leveldb
      
      Differential Revision: https://reviews.facebook.net/D8037
      b63aafce