1. 14 11月, 2014 4 次提交
    • I
      Fix include · 3c92e523
      Igor Canadi 提交于
      3c92e523
    • I
      Fix iOS compile with -Wshorten-64-to-32 · 25f27302
      Igor Canadi 提交于
      Summary: So iOS size_t is 32-bit, so we need to static_cast<size_t> any uint64_t :(
      
      Test Plan: TARGET_OS=IOS make static_lib
      
      Reviewers: dhruba, ljin, yhchiang, rven, sdong
      
      Reviewed By: sdong
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28743
      25f27302
    • S
      Fix bug of reading from empty DB. · fa50abb7
      sdong 提交于
      Summary: I found that db_stress sometimes segfault on my machine. Fix the bug.
      
      Test Plan: make all check. Run db_stress
      
      Reviewers: ljin, yhchiang, rven, igor
      
      Reviewed By: igor
      
      Subscribers: leveldb, dhruba
      
      Differential Revision: https://reviews.facebook.net/D28803
      fa50abb7
    • H
      Improve Backup Engine. · 31b02dc2
      Hasnain Lakhani 提交于
      Summary:
      Improve the backup engine by not deleting the corrupted
      backup when it is detected; instead leaving it to the client
      to delete the corrupted backup.
      
      Also add a BackupEngine::Open() call.
      
      Test Plan:
      Add check to CorruptionTest inside backupable_db_test
      to check that the corrupt backups are not deleted. The previous
      version of the code failed this test as backups were deleted,
      but after the changes in this commit, this test passes.
      
      Run make check to ensure that no other tests fail.
      
      Reviewers: sdong, benj, sanketh, sumeet, igor
      
      Reviewed By: igor
      
      Subscribers: dhruba, leveldb
      
      Differential Revision: https://reviews.facebook.net/D28521
      31b02dc2
  2. 13 11月, 2014 9 次提交
  3. 12 11月, 2014 4 次提交
  4. 11 11月, 2014 11 次提交
  5. 10 11月, 2014 4 次提交
  6. 09 11月, 2014 6 次提交
  7. 08 11月, 2014 2 次提交
    • 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