rocksdb/include/rocksdb
Jay Edgar 7699439b7c Prevent the user from setting block_restart_interval to less than 1
Summary: If block_restart_interval gets set to less than 1 an assert will be triggered in BlockBuilder::BlockBuilder().  This prevents the user from doing this by silently setting any value less than 1 to 1.

Test Plan: Added a test (in BlockBasedTableTest in table_test) that checks invalid values to make sure that they are reset to the expected values.  The block_restart_interval value is checked along with block_size_deviation which also silently sets the value if it is outside a specific range.

Reviewers: yoshinorim, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D52509
2016-01-04 14:13:18 -08:00
..
utilities Do not use timed_mutex in TransactionDB 2015-12-18 17:26:02 -08:00
c.h Merge pull request #916 from warrenfalk/capi_huge_page_option 2016-01-04 09:24:30 -08:00
cache.h Correct a comment in include/rocksdb/cache.h 2015-12-10 16:39:10 -08:00
compaction_filter.h Use SST files for Transaction conflict detection 2015-12-11 12:34:11 -08:00
compaction_job_stats.h [Parallel L0-L1 Compaction Prep]: Giving Subcompactions Their Own State 2015-08-18 11:06:23 -07:00
comparator.h Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
convenience.h Delete files in given key range 2015-12-29 13:22:13 -08:00
db.h add call to install superversion and schedule work in enableautocompactions 2015-12-21 10:06:49 -08:00
db_dump_tool.h Update dump_tool and undump_tool to accept Options 2015-10-05 19:49:48 -07:00
delete_scheduler.h Fix appVeyor Build problem 2015-12-11 21:10:49 -08:00
env.h add a factory method for creating hdfs env 2015-12-23 17:26:50 -08:00
experimental.h
filter_policy.h
flush_block_policy.h
immutable_options.h When slowdown is triggered, reduce the write rate 2015-12-23 11:33:15 -08:00
iostats_context.h Add options.compaction_measure_io_stats to print write I/O stats in compactions 2015-08-13 16:52:26 -07:00
iterator.h Introduce ReadOptions::pin_data (support zero copy for keys) 2015-12-16 12:08:30 -08:00
ldb_tool.h
listener.h Fix lite_build 2015-12-22 11:58:13 -08:00
memtablerep.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
merge_operator.h Better CompactionJob testing 2015-08-07 21:59:51 -07:00
metadata.h
options.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
perf_context.h Include the time unit in the comment of perf_context timers 2015-10-13 17:24:13 -07:00
perf_level.h
rate_limiter.h Replace BackupRateLimiter with GenericRateLimiter 2015-09-03 17:00:09 -07:00
slice.h Enable RocksDB to persist Options file. 2015-11-10 22:58:01 -08:00
slice_transform.h
snapshot.h Support marking snapshots for write-conflict checking - Take 2 2015-12-08 16:47:31 -08:00
sst_dump_tool.h
sst_file_writer.h Add experimental DB::AddFile() to plug sst files into empty DB 2015-09-23 12:42:43 -07:00
statistics.h support for concurrent adds to memtable 2015-12-25 11:03:40 -08:00
status.h Make Status moveable 2015-12-22 16:06:20 -08:00
table.h Prevent the user from setting block_restart_interval to less than 1 2016-01-04 14:13:18 -08:00
table_properties.h Revert "Adding new table properties" 2015-11-06 16:49:38 -08:00
thread_status.h
transaction_log.h
types.h
universal_compaction.h
version.h Bump version to 4.4 2015-12-16 14:32:58 -08:00
wal_filter.h "make format" in some recent commits 2015-10-29 17:11:14 -07:00
write_batch.h track WriteBatch contents 2015-11-10 16:56:06 -08:00
write_batch_base.h Support for SingleDelete() 2015-09-17 11:42:56 -07:00