Skip to content

Commit 3c0dcf0

Browse files
committed
InternalStatistics
Summary: In DBImpl we keep track of some statistics internally and expose them via GetProperty(). This diff encapsulates all the internal statistics into a class InternalStatisics. Most of it is copy/paste. Apart from cleaning up db_impl.cc, this diff is also necessary for Column families, since every column family should have its own CompactionStats, MakeRoomForWrite-stall stats, etc. It's much easier to keep track of it in every column family if it's nicely encapsulated in its own class. Test Plan: make check Reviewers: dhruba, kailiu, haobo, sdong, emayanke Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D15273
1 parent d118707 commit 3c0dcf0

File tree

4 files changed

+466
-401
lines changed

4 files changed

+466
-401
lines changed

0 commit comments

Comments
 (0)