Revision 506e8448bee9cbd7996222e20033bcdb55a59ea6 authored by Maysam Yabandeh on 26 April 2019, 01:14:10 UTC, committed by Facebook Github Bot on 26 April 2019, 01:17:22 UTC
Summary: Part of compaction cpu goes to processing snapshot list, the larger the list the bigger the overhead. Although the lifetime of most of the snapshots is much shorter than the lifetime of compactions, the compaction conservatively operates on the list of snapshots that it initially obtained. This patch allows the snapshot list to be updated via a callback if the compaction is taking long. This should let the compaction to continue more efficiently with much smaller snapshot list. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5099 Differential Revision: D15086710 Pulled By: maysamyabandeh fbshipit-source-id: 7649f56c3b6b2fb334962048150142a3bf9c1a12
1 parent 6eb317b
File | Mode | Size |
---|---|---|
alloc_tracker.cc | -rw-r--r-- | 2.0 KB |
hash_linklist_rep.cc | -rw-r--r-- | 28.8 KB |
hash_linklist_rep.h | -rw-r--r-- | 1.8 KB |
hash_skiplist_rep.cc | -rw-r--r-- | 10.8 KB |
hash_skiplist_rep.h | -rw-r--r-- | 1.4 KB |
inlineskiplist.h | -rw-r--r-- | 34.0 KB |
inlineskiplist_test.cc | -rw-r--r-- | 17.2 KB |
memtablerep_bench.cc | -rw-r--r-- | 23.6 KB |
skiplist.h | -rw-r--r-- | 15.6 KB |
skiplist_test.cc | -rw-r--r-- | 10.2 KB |
skiplistrep.cc | -rw-r--r-- | 8.5 KB |
stl_wrappers.h | -rw-r--r-- | 856 bytes |
vectorrep.cc | -rw-r--r-- | 8.8 KB |
write_buffer_manager.cc | -rw-r--r-- | 4.8 KB |
write_buffer_manager_test.cc | -rw-r--r-- | 5.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...