rocksdb/table
Jonah Cohen a14b7873ee Enforce write buffer memory limit across column families
Summary:
Introduces a new class for managing write buffer memory across column
families.  We supplement ColumnFamilyOptions::write_buffer_size with
ColumnFamilyOptions::write_buffer, a shared pointer to a WriteBuffer
instance that enforces memory limits before flushing out to disk.

Test Plan: Added SharedWriteBuffer unit test to db_test.cc

Reviewers: sdong, rven, ljin, igor

Reviewed By: igor

Subscribers: tnovak, yhchiang, dhruba, xjin, MarkCallaghan, yoshinorim

Differential Revision: https://reviews.facebook.net/D22581
2014-12-02 12:09:20 -08:00
..
adaptive_table_factory.cc
adaptive_table_factory.h
block.cc
block.h
block_based_filter_block.cc
block_based_filter_block.h
block_based_filter_block_test.cc
block_based_table_builder.cc Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
block_based_table_builder.h
block_based_table_factory.cc Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
block_based_table_factory.h Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
block_based_table_reader.cc Add rocksdb::ToString() to address cases where std::to_string is not available. 2014-11-24 20:44:49 -08:00
block_based_table_reader.h Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
block_builder.cc
block_builder.h
block_hash_index.cc
block_hash_index.h
block_hash_index_test.cc
block_prefix_index.cc
block_prefix_index.h
block_test.cc
bloom_block.cc
bloom_block.h Enforce write buffer memory limit across column families 2014-12-02 12:09:20 -08:00
cuckoo_table_builder.cc Add rocksdb::ToString() to address cases where std::to_string is not available. 2014-11-24 20:44:49 -08:00
cuckoo_table_builder.h
cuckoo_table_builder_test.cc
cuckoo_table_factory.cc
cuckoo_table_factory.h
cuckoo_table_reader.cc
cuckoo_table_reader.h
cuckoo_table_reader_test.cc Add rocksdb::ToString() to address cases where std::to_string is not available. 2014-11-24 20:44:49 -08:00
filter_block.h
flush_block_policy.cc
format.cc Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
format.h
full_filter_block.cc
full_filter_block.h
full_filter_block_test.cc
get_context.cc
get_context.h
iter_heap.h
iterator.cc
iterator_wrapper.h
merger.cc Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
merger.h
merger_test.cc
meta_blocks.cc Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
meta_blocks.h Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
mock_table.cc CompactionJobTest 2014-11-14 11:35:48 -08:00
mock_table.h CompactionJobTest 2014-11-14 11:35:48 -08:00
plain_table_builder.cc
plain_table_builder.h
plain_table_factory.cc
plain_table_factory.h
plain_table_index.cc Block plain_table_index.cc in ROCKSDB_LITE 2014-11-24 20:47:27 -08:00
plain_table_index.h Block plain_table_index.cc in ROCKSDB_LITE 2014-11-24 20:47:27 -08:00
plain_table_key_coding.cc
plain_table_key_coding.h
plain_table_reader.cc Add rocksdb::ToString() to address cases where std::to_string is not available. 2014-11-24 20:44:49 -08:00
plain_table_reader.h
table_builder.h
table_properties.cc Add rocksdb::ToString() to address cases where std::to_string is not available. 2014-11-24 20:44:49 -08:00
table_properties_internal.h Fix iOS compile with -Wshorten-64-to-32 2014-11-13 14:39:30 -05:00
table_reader.h
table_reader_bench.cc Make db_stress built for ROCKSDB_LITE 2014-11-14 10:20:51 -08:00
table_test.cc Enforce write buffer memory limit across column families 2014-12-02 12:09:20 -08:00
two_level_iterator.cc
two_level_iterator.h