rocksdb/memtable
Andrew Kryczka a4d9c02511 Pass CF ID to MemTableRepFactory
Summary:
Some users want to monitor column family activity in their custom memtable implementations. Previously there was no way to figure out with which column family a memtable is associated. This diff:

- adds an overload to MemTableRepFactory::CreateMemTableRep() that provides the CF ID. For compatibility, its default implementation calls the old overload.
- updates MemTable to create MemTableRep's using the new overload.
Closes https://github.com/facebook/rocksdb/pull/2346

Differential Revision: D5108061

Pulled By: ajkr

fbshipit-source-id: 3a1921214a348dd8ea0f54e1cab3b71c3d46d616
2017-06-02 12:12:06 -07:00
..
hash_cuckoo_rep.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
hash_cuckoo_rep.h Pass CF ID to MemTableRepFactory 2017-06-02 12:12:06 -07:00
hash_linklist_rep.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
hash_linklist_rep.h Pass CF ID to MemTableRepFactory 2017-06-02 12:12:06 -07:00
hash_skiplist_rep.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
hash_skiplist_rep.h Pass CF ID to MemTableRepFactory 2017-06-02 12:12:06 -07:00
inlineskiplist_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
inlineskiplist.h Move memtable related files into memtable directory 2017-04-06 14:09:13 -07:00
memtable_allocator.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
memtable_allocator.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
memtablerep_bench.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
skiplist_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
skiplist.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
skiplistrep.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
stl_wrappers.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
vectorrep.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00