MySQLOnRocksDB/mysql-5.6
forked from facebook/mysql-5.6

Loading…
io_perf_start/io_perf_end_and_record calls are not matched #41
Closed
spetrunia opened this Issue
· 2 comments
Collaborator
spetrunia
commented
Owner
hermanlee
commented
Thanks Sergei. Looks like I missed one exit point in the routine. I'll fix this.
Owner
hermanlee
commented
Should be resolved by https://reviews.facebook.net/D34653.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ha_rocksdb::index_read_map() calls
io_perf_start()at function start, but then there are exits from the function that do not callio_perf_end_and_record().One example scenario:
insert some rows into t1. Suppose, row with a=10 doesn't exist, row with a=11 does exist.
Then, run the query:
And observe:
The first hit is from index lookup for a=10
The other two are from lookup on a=11.
Note that the second call of breakpoint 6 wipes out the data collected since the first invocation.