rocksdb/include/rocksdb
Giuseppe Ottaviano 69ec8356b2 Allow SstFileWriter to use the rate limiter
Summary:
The default IO priority of WritableFiles is IO_TOTAL, meaning that
they will bypass the rate limiter if it's passed in the options.

This change allows to pass an io priority in construction, so that by
setting IO_LOW or IO_HIGH the rate limit will be honored.

It also fixes a minor bug: SstFileWriter's copy and move constructor
are not disabled and incorrect, as any copy/move will result in a
double free. Switching to unique_ptr makes the object correctly
movable and non-copyable as expected.

Also fix minor style inconsistencies.
Closes https://github.com/facebook/rocksdb/pull/2335

Differential Revision: D5113260

Pulled By: sagar0

fbshipit-source-id: e084236e7ff0b50a56cbeceaa9fedd5e210bf9f8
2017-05-23 11:42:09 -07:00
..
utilities fixed typo 2017-05-17 16:41:49 -07:00
advanced_options.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
c.h Add ROCKSDB_LIBRARY_API macro to a few C APIs, to fix windows build 2017-05-17 10:22:41 -07:00
cache.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
cleanable.h Pinnableslice (2nd attempt) 2017-03-13 11:54:10 -07:00
compaction_filter.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
compaction_job_stats.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
comparator.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
convenience.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
db_bench_tool.h Separeate main from bench functionality to allow cusomizations 2016-02-16 06:17:31 -08:00
db_dump_tool.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
db.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
env.h Allow SstFileWriter to use the rate limiter 2017-05-23 11:42:09 -07:00
experimental.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
filter_policy.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
flush_block_policy.h Configure index partition size 2017-03-28 12:09:12 -07:00
iostats_context.h remove #include port/port.h in public header file 2017-05-20 16:42:21 -07:00
iterator.h Pinnableslice (2nd attempt) 2017-03-13 11:54:10 -07:00
ldb_tool.h Allow Users to change customized ldb tools' header in help printing 2017-03-21 17:39:12 -07:00
listener.h Allow IntraL0 compaction in FIFO Compaction 2017-05-04 18:16:13 -07:00
memtablerep.h Unified InlineSkipList::Insert algorithm with hinting 2016-11-22 14:09:13 -08:00
merge_operator.h [rocksdb][PR] Remove option min_partial_merge_operands and verify_checksums_in_comp… 2017-02-23 15:09:12 -08:00
metadata.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
options.h New WriteImpl to pipeline WAL/memtable write 2017-05-19 14:26:42 -07:00
perf_context.h remove #include port/port.h in public header file 2017-05-20 16:42:21 -07:00
perf_level.h Move away from enum char value -1 2016-06-14 17:07:34 -07:00
persistent_cache.h Dump persistent cache options 2016-12-19 14:09:12 -08:00
rate_limiter.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
slice_transform.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
slice.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
snapshot.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
sst_dump_tool.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
sst_file_manager.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
sst_file_writer.h Allow SstFileWriter to use the rate limiter 2017-05-23 11:42:09 -07:00
statistics.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
status.h Limit maximum memory used in the WriteBatch representation 2017-04-10 15:42:26 -07:00
table_properties.h Support SST files with Global sequence numbers [reland] 2016-10-18 16:59:37 -07:00
table.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
thread_status.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
threadpool.h New API for background work in single thread pool 2017-05-23 11:12:27 -07:00
transaction_log.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
types.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
universal_compaction.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
version.h Release RocksDB 5.5.0 2017-05-17 12:42:20 -07:00
wal_filter.h Avoid overloaded virtual function 2016-03-22 17:10:31 -07:00
write_batch_base.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
write_batch.h Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
write_buffer_manager.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00