]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Hotcold: Removed Table from metrics flow path and now only create BlockMetrics in...
authorKosie van der Merwe <kosie.vandermerwe@gmail.com>
Fri, 15 Feb 2013 20:03:30 +0000 (12:03 -0800)
committerKosie van der Merwe <kosie.vandermerwe@gmail.com>
Fri, 15 Feb 2013 20:03:30 +0000 (12:03 -0800)
commitac02b3258fc5bfc5cebcbd89a9413ea2f6fbade5
treecafdf7cd0dc93fb977115c316ef56f737b88ca65
parentea12281d6f3b7e43d2e28d7444896a4c85a8ee95
Hotcold: Removed Table from metrics flow path and now only create BlockMetrics in Block::MetricsIter

Summary: Metrics no longer pass through `Table` to the cache and instead go directly from `Block::MetricsIter`. Additionally `BlockMetrics` is now only created when a `Seek()` is performed.

Test Plan: make check

Reviewers: vamsi, dhruba

Reviewed By: vamsi

CC: leveldb
Differential Revision: https://reviews.facebook.net/D8427
db/db_impl.cc
table/block.cc
table/block.h
table/table.cc