]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
WriteOptions.low_pri which can throttle low pri writes if needed
authorSiying Dong <siying.d@fb.com>
Mon, 5 Jun 2017 21:42:34 +0000 (14:42 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 5 Jun 2017 22:02:35 +0000 (15:02 -0700)
commit52a7f38b198eafae795ab32ae1a44c651ec9400b
tree3138aa507205dcdf91014d31776d9a7dedfbb866
parent26a8a807111f5d4c9b0e9a275cf803c8fba26813
WriteOptions.low_pri which can throttle low pri writes if needed

Summary:
If ReadOptions.low_pri=true and compaction is behind, the write will either return immediate or be slowed down based on ReadOptions.no_slowdown.
Closes https://github.com/facebook/rocksdb/pull/2369

Differential Revision: D5127619

Pulled By: siying

fbshipit-source-id: d30e1cff515890af0eff32dfb869d2e4c9545eb0
HISTORY.md
db/column_family.cc
db/db_impl.cc
db/db_impl.h
db/db_impl_write.cc
db/db_test.cc
db/db_test2.cc
db/write_controller.cc
db/write_controller.h
include/rocksdb/options.h
util/rate_limiter.cc