[Commits] 5d901b22778: Trivial fix for the previous cset
revision-id: 5d901b2277851f53a39f7ef8a85c6c53fff6b180 (fb-prod201903-277-g5d901b22778) parent(s): 586dcc739902eebea973b570ca124d624efb5201 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-04-01 21:56:29 +0300 message: Trivial fix for the previous cset --- storage/rocksdb/rdb_perf_context.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/rocksdb/rdb_perf_context.cc b/storage/rocksdb/rdb_perf_context.cc index 43cda57ddf1..b1e81705833 100644 --- a/storage/rocksdb/rdb_perf_context.cc +++ b/storage/rocksdb/rdb_perf_context.cc @@ -165,9 +165,6 @@ static void harvest_diffs(Rdb_atomic_perf_counters *const counters) { IO_PERF_RECORD(key_lock_wait_time); IO_PERF_RECORD(key_lock_wait_count); - IO_PERF_RECORD(lock_acquire_count); - IO_PERF_RECORD(lock_release_count); - IO_STAT_RECORD(thread_pool_id); IO_STAT_RECORD(bytes_written); IO_STAT_RECORD(bytes_read); @@ -177,6 +174,9 @@ static void harvest_diffs(Rdb_atomic_perf_counters *const counters) { IO_STAT_RECORD(read_nanos); IO_STAT_RECORD(range_sync_nanos); IO_STAT_RECORD(logger_nanos); + IO_PERF_RECORD(lock_acquire_count); + IO_PERF_RECORD(lock_release_count); + } #undef IO_PERF_DIFF
participants (1)
-
psergey