rocksdb/unreleased_history/bug_fixes
Hui Xiao ed913513bd Fix a bug of rocksdb.file.read.verify.file.checksums.micros not being populated (#11836)
Summary:
**Context/Summary:**
`rocksdb.file.read.verify.file.checksums.micros ` was added in https://github.com/facebook/rocksdb/pull/11444 but the related path was not populated with statistics and clock object correctly so the actual statistics collection didn't happen. This PR fixed it.

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

Test Plan:
Setup:
```
./db_bench --benchmarks="fillrandom" --file_checksum=1 --num=100 --db=/dev/shm/rocksdb
```
Run:
```
./db_bench --use_existing_db=1  --benchmarks="verifyfilechecksums" --file_checksum=1 --num=100 --db=/dev/shm/rocksdb --statistics=1 --stats_level=4
```
Post-PR
```
rocksdb.file.read.verify.file.checksums.micros P50 : 9.000000 P95 : 9.000000 P99 : 9.000000 P100 : 9.000000 COUNT : 1 SUM : 9
```

Pre-PR
```
rocksdb.file.read.verify.file.checksums.micros P50 : 0.000000 P95 : 0.000000 P99 : 0.000000 P100 : 0.000000 COUNT : 0 SUM : 0
```

Reviewed By: ajkr

Differential Revision: D49293378

Pulled By: hx235

fbshipit-source-id: 1acd8b828c28e088d0c5d63897f53cd180b82f42
2023-09-15 10:36:14 -07:00
..
.gitkeep Better management of unreleased HISTORY (#11481) 2023-05-30 16:42:49 -07:00
001_check_iter_status_data_loss.md Fix a bug where iterator status is not checked (#11782) 2023-09-01 09:34:08 -07:00
010_check_more_iter_status_for_delete_range.md Fix a bug where iterator can return incorrect data for DeleteRange() users (#11786) 2023-09-01 11:33:15 -07:00
fix_multiget_sv_cleanup.md Fix a bug in multiget for cleaning up SuperVersion (#11830) 2023-09-15 09:50:39 -07:00
fixed_generic_rate_limiter_hang.md Fix GenericRateLimiter hanging bug (#11763) 2023-08-28 13:36:25 -07:00
opt_seek.md Avoid alignment in FilePrefetchBuffer during seek with async_io (#11793) 2023-09-11 11:41:44 -07:00
sst_dump_for_udt.md Add UDT support in SstFileDumper (#11757) 2023-08-30 13:42:04 -07:00
upper_bound_autoreadahead.md Update upper_bound_offset when reseek changes iterate_upper_bound dynamically (#11775) 2023-09-15 10:05:56 -07:00
verify_file_checksum_stat_bug.md Fix a bug of rocksdb.file.read.verify.file.checksums.micros not being populated (#11836) 2023-09-15 10:36:14 -07:00