- 07 8月, 2020 3 次提交
-
-
由 ZhaoMing 提交于
-
由 chenchanglong 提交于
-
由 ZhaoMing 提交于
-
- 22 7月, 2020 2 次提交
- 19 6月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
-
- 18 6月, 2020 4 次提交
-
-
由 解轶伦 提交于
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
-
由 ZhaoMing 提交于
-
由 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
-
由 ZhaoMing 提交于
-
- 04 6月, 2020 2 次提交
- 12 5月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
add include_blob param
-
- 20 4月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
-
- 09 4月, 2020 2 次提交
-
-
由 liuyangming 提交于
-
由 leipeng 提交于
-
- 26 3月, 2020 3 次提交
-
-
由 ZhaoMing 提交于
Fix tests Fix GC picker Add chaos test Add DBOptions::max_task_per_thread
-
由 guokuankuan 提交于
-
由 linyuanjin 提交于
-
- 23 3月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
-
- 20 3月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
Fix tests Fix GC picker Add chaos test Add DBOptions::max_task_per_thread
-
- 15 3月, 2020 2 次提交
-
-
由 guokuankuan 提交于
-
由 linyuanjin 提交于
-
- 05 3月, 2020 1 次提交
-
-
由 赵明 提交于
-
- 22 1月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
-
- 21 1月, 2020 1 次提交
-
-
由 maguoshun 提交于
-
- 07 1月, 2020 1 次提交
-
-
由 ZhaoMing 提交于
-
- 03 1月, 2020 1 次提交
-
-
由 leipeng 提交于
-
- 31 12月, 2019 1 次提交
-
-
由 leipeng 提交于
-
- 29 12月, 2019 2 次提交
-
-
由 linyuanjin 提交于
-
由 ZhaoMing 提交于
-
- 27 12月, 2019 1 次提交
-
-
由 赵明 提交于
-
- 17 12月, 2019 2 次提交
-
-
由 赵明 提交于
-
由 linyuanjin 提交于
-
- 11 12月, 2019 3 次提交
-
-
由 linyuanjin 提交于
-
由 linyuanjin 提交于
-
由 linyuanjin 提交于
-
- 03 12月, 2019 1 次提交
-
-
由 林源劲 提交于
-
- 15 11月, 2019 1 次提交
-
-
由 ZhaoMing 提交于
-
- 11 11月, 2019 1 次提交
-
-
由 chenchanglong 提交于
-