rocksdb/db/db_impl
Ignat Loskutov 05fcacdb42 Add missing stopwatch and perf timer to DBImplReadOnly (#11521)
Summary:
The `rocksdb.db.get.micros` histogram is never updated if the DB is open in ReadOnly mode, as well as the `get_cpu_nanos` perf counter. An earlier PR (https://github.com/facebook/rocksdb/issues/4260) for some reason has only added the TODO line, not the accounting itself, so this one is intended to fix it, adding two lines to match [DBImplSecondary](4dafa5b220/db/db_impl/db_impl_secondary.cc (L366-L367)).

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11521

Reviewed By: cbi42

Differential Revision: D46577330

Pulled By: jowlyzhang

fbshipit-source-id: be147923e763af32bbc18fd6bdf3aff8ebf08aee
2023-06-08 17:40:56 -07:00
..
compacted_db_impl.cc Group rocksdb.sst.read.micros stat by IOActivity flush and compaction (#11288) 2023-04-21 09:07:18 -07:00
compacted_db_impl.h Support Clip DB to KeyRange (#11379) 2023-05-18 13:25:01 -07:00
db_impl.cc Support Clip DB to KeyRange (#11379) 2023-05-18 13:25:01 -07:00
db_impl.h Flush option in WaitForCompact() (#11483) 2023-05-31 12:53:51 -07:00
db_impl_compaction_flush.cc CompactRange() always compacts to bottommost level for leveled compaction (#11468) 2023-06-01 15:27:29 -07:00
db_impl_debug.cc Add WaitForCompact with WaitForCompactOptions to public API (#11436) 2023-05-25 17:25:51 -07:00
db_impl_experimental.cc Record and use the tail size to prefetch table tail (#11406) 2023-05-08 13:14:28 -07:00
db_impl_files.cc Fix flaky test DBTestUniversalManualCompactionOutputPathId.ManualCompactionOutputPathId (#11412) 2023-05-03 11:12:20 -07:00
db_impl_open.cc switch to use RocksDB UnorderedMap (#11507) 2023-06-05 13:36:26 -07:00
db_impl_readonly.cc Add missing stopwatch and perf timer to DBImplReadOnly (#11521) 2023-06-08 17:40:56 -07:00
db_impl_readonly.h Support Clip DB to KeyRange (#11379) 2023-05-18 13:25:01 -07:00
db_impl_secondary.cc switch to use RocksDB UnorderedMap (#11507) 2023-06-05 13:36:26 -07:00
db_impl_secondary.h Add utils to use for handling user defined timestamp size record in WAL (#11451) 2023-05-22 14:28:58 -07:00
db_impl_write.cc Logging timestamp size record in WAL and use it during recovery (#11471) 2023-05-30 19:32:00 -07:00