Commit Graph

3 Commits

Author SHA1 Message Date
Glauber Costa
4cd143de87 filter_tracker: define and call a stop method
All sharded services "should" define a stop method. Calling them is also
a good practice. For this one specifically, though, we will not call stop.
We miss a good way to add a Deleter to a shared_ptr class, and that would
be the only reliable way to tie into its lifetime.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-07-23 11:11:57 -04:00
Glauber Costa
272b97f01c sstables: initialize filter_tracker when filter file is read
Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-06-18 11:17:29 -04:00
Glauber Costa
1c5d2141db add sstables filter tracker
This class will be used to generate filter hit / miss statistics to be consumed
by upper layers

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-06-18 11:17:22 -04:00