Revision 513b5ce61806159dd184cc83ac615d8c824aab57 authored by Yanqin Jin on 27 April 2018, 04:09:53 UTC, committed by Facebook Github Bot on 27 April 2018, 04:12:51 UTC
Summary: With ColumnFamilyData::pending_flush_, we have the following code snippet in DBImpl::ScheedulePendingFlush ``` if (!cfd->pending_flush() && cfd->imm()->IsFlushPending()) { ... } ``` `Pending` is ambiguous, and I feel `queued_for_flush` is a better name, especially for the sake of readability. Closes https://github.com/facebook/rocksdb/pull/3777 Differential Revision: D7783066 Pulled By: riversand963 fbshipit-source-id: f1bd8c8bfe5eafd2c94da0d8566c9b2b6bb57229
1 parent 37cd617
File | Mode | Size |
---|---|---|
file_read_sample.h | -rw-r--r-- | 801 bytes |
histogram.cc | -rw-r--r-- | 9.2 KB |
histogram.h | -rw-r--r-- | 4.4 KB |
histogram_test.cc | -rw-r--r-- | 7.1 KB |
histogram_windowing.cc | -rw-r--r-- | 6.3 KB |
histogram_windowing.h | -rw-r--r-- | 2.8 KB |
instrumented_mutex.cc | -rw-r--r-- | 2.6 KB |
instrumented_mutex.h | -rw-r--r-- | 2.3 KB |
iostats_context.cc | -rw-r--r-- | 1.6 KB |
iostats_context_imp.h | -rw-r--r-- | 1.7 KB |
iostats_context_test.cc | -rw-r--r-- | 979 bytes |
perf_context.cc | -rw-r--r-- | 6.4 KB |
perf_context_imp.h | -rw-r--r-- | 2.0 KB |
perf_level.cc | -rw-r--r-- | 683 bytes |
perf_level_imp.h | -rw-r--r-- | 496 bytes |
perf_step_timer.h | -rw-r--r-- | 1.2 KB |
statistics.cc | -rw-r--r-- | 6.0 KB |
statistics.h | -rw-r--r-- | 3.8 KB |
statistics_test.cc | -rw-r--r-- | 1.0 KB |
thread_status_impl.cc | -rw-r--r-- | 4.8 KB |
thread_status_updater.cc | -rw-r--r-- | 11.0 KB |
thread_status_updater.h | -rw-r--r-- | 8.5 KB |
thread_status_updater_debug.cc | -rw-r--r-- | 1.3 KB |
thread_status_util.cc | -rw-r--r-- | 7.1 KB |
thread_status_util.h | -rw-r--r-- | 5.1 KB |
thread_status_util_debug.cc | -rw-r--r-- | 966 bytes |
Computing file changes ...