1. 07 8月, 2020 3 次提交
  2. 22 7月, 2020 2 次提交
  3. 19 6月, 2020 1 次提交
  4. 18 6月, 2020 4 次提交
    • delete superversions in BackgroundCallPurge (#6146) · e47aadeb
      解轶伦 提交于
      Summary:
      I found that CleanupSuperVersion() may block Get() for 30ms+ (per MemTable is 256MB).
      
      Then I found "delete sv" in ~SuperVersion() takes the time.
      
      The backtrace looks like this
      
      DBImpl::GetImpl() -> DBImpl::ReturnAndCleanupSuperVersion() ->
      DBImpl::CleanupSuperVersion() : delete sv; -> ~SuperVersion()
      
      I think it's better to delete in a background thread,  please review it。
      Pull Request resolved: #6146
      
      Differential Revision: D18972066
      
      fbshipit-source-id: 0f7b0b70b9bb1e27ad6fc1c8a408fbbf237ae08c
      e47aadeb
    • Z
      Refactor FindObsoleteFiles logic 3 · 201fabc6
      ZhaoMing 提交于
      201fabc6
    • M
      Add DBOptions. avoid_unnecessary_blocking_io to defer file deletions (#5043) · 699631a6
      Mike Kolupaev 提交于
      Summary:
      Just like ReadOptions::background_purge_on_iterator_cleanup but for ColumnFamilyHandle instead of Iterator.
      
      In our use case we sometimes call ColumnFamilyHandle's destructor from low-latency threads, and sometimes it blocks the thread for a few seconds deleting the files. To avoid that, we can either offload ColumnFamilyHandle's destruction to a background thread on our side, or add this option on rocksdb side. This PR does the latter, to be consistent with how we solve exactly the same problem for iterators using background_purge_on_iterator_cleanup option.
      
      (EDIT: It's avoid_unnecessary_blocking_io now, and affects both CF drops and iterator destructors.)
      I'm not quite comfortable with having two separate options (background_purge_on_iterator_cleanup and background_purge_on_cf_cleanup) for such a rarely used thing. Maybe we should merge them? Rename background_purge_on_cf_cleanup to something like delete_files_on_background_threads_only or avoid_blocking_io_in_unexpected_places, and make iterators use it instead of the one in ReadOptions? I can do that here if you guys think it's better.
      Pull Request resolved: https://github.com/facebook/rocksdb/pull/5043
      
      Differential Revision: D14339233
      
      Pulled By: al13n321
      
      fbshipit-source-id: ccf7efa11c85c9a5b91d969bb55627d0fb01e7b8
      699631a6
    • Z
      Refactor FindObsoleteFiles logic 2 · b492d91b
      ZhaoMing 提交于
      b492d91b
  5. 04 6月, 2020 2 次提交
  6. 12 5月, 2020 1 次提交
  7. 20 4月, 2020 1 次提交
  8. 09 4月, 2020 2 次提交
  9. 26 3月, 2020 3 次提交
  10. 23 3月, 2020 1 次提交
  11. 20 3月, 2020 1 次提交
    • Z
      Mock MapBuilder · 2df14f19
      ZhaoMing 提交于
      Fix tests
      Fix GC picker
      Add chaos test
      Add DBOptions::max_task_per_thread
      2df14f19
  12. 15 3月, 2020 2 次提交
  13. 05 3月, 2020 1 次提交
  14. 22 1月, 2020 1 次提交
  15. 21 1月, 2020 1 次提交
    • M
      WIP · 23d269dd
      maguoshun 提交于
      23d269dd
  16. 07 1月, 2020 1 次提交
  17. 03 1月, 2020 1 次提交
  18. 31 12月, 2019 1 次提交
  19. 29 12月, 2019 2 次提交
  20. 27 12月, 2019 1 次提交
  21. 17 12月, 2019 2 次提交
  22. 11 12月, 2019 3 次提交
  23. 03 12月, 2019 1 次提交
  24. 15 11月, 2019 1 次提交
  25. 11 11月, 2019 1 次提交