rocksdb/table
Kai Liu 7604e2f70c Make the options in table_builder/block_builder less misleading
Summary:
By original design, the regular `block options` and index `block options` in table_builder is mutable. We can use ChangeOptions to change the options directly.

However, with my last change, `BlockBuilder` no longer hold the reference to the index_block_options -- as a result, any changes made after the creation of index block builder will be of no effect.

But still the code is very error-prone and developers can easily fall into the trap without aware of it. To avoid this problem from happening in the future, I deleted the `ChangeOptions` and the `index_block_options`, as well as many other changes to make it less misleading.

Test Plan:
make
make check
make release

Reviewers: dhruba, haobo

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13707
2013-11-16 23:21:15 -08:00
..
block_based_table_builder.cc Make the options in table_builder/block_builder less misleading 2013-11-16 23:21:15 -08:00
block_based_table_builder.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
block_based_table_factory.cc Follow-up Cleaning-up After D13521 2013-10-30 10:52:33 -07:00
block_based_table_factory.h Follow-up Cleaning-up After D13521 2013-10-30 10:52:33 -07:00
block_based_table_reader.cc Fix bloom filters 2013-11-14 14:05:15 -08:00
block_based_table_reader.h Add the index/filter block cache 2013-11-12 22:46:51 -08:00
block_builder.cc Make the options in table_builder/block_builder less misleading 2013-11-16 23:21:15 -08:00
block_builder.h Make the options in table_builder/block_builder less misleading 2013-11-16 23:21:15 -08:00
block_test.cc Make the options in table_builder/block_builder less misleading 2013-11-16 23:21:15 -08:00
block.cc Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
block.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
filter_block_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
filter_block.cc Add the index/filter block cache 2013-11-12 22:46:51 -08:00
filter_block.h Add the index/filter block cache 2013-11-12 22:46:51 -08:00
flush_block_policy.cc Don't not suggest flushing data when data block is still empty 2013-11-11 21:05:16 -08:00
format.cc Fix stress test failure when using mmap-reads. 2013-11-06 15:40:26 -08:00
format.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
iter_heap.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
iterator_wrapper.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
iterator.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
merger.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
merger.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
table_reader_bench.cc Add an option to table_reader_bench to access the table from DB And Iterating non-existing prefix case. 2013-11-15 22:23:12 -08:00
table_test.cc Make the options in table_builder/block_builder less misleading 2013-11-16 23:21:15 -08:00
two_level_iterator.cc Fix slow no-io iterator 2013-11-06 14:11:52 -08:00
two_level_iterator.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00