rocksdb/utilities/date_tiered
Sagar Vemuri 7124268a09 Reduce the number of params needed to construct DBIter
Summary:
DBIter, and in-turn NewDBIterator and NewArenaWrappedDBIterator, take a  bunch of params. They can be reduced by passing in ReadOptions directly instead of passing in every new param separately. It also seems much cleaner as a bunch of the params towards the end seem to be optional.

(Recently I introduced max_skippable_internal_keys, which added one more to the already huge count).

Idea courtesy IslamAbdelRahman
Closes https://github.com/facebook/rocksdb/pull/2116

Differential Revision: D4857128

Pulled By: sagar0

fbshipit-source-id: 7d239df094b94bd9ea79d145cdf825478ac037a8
2017-04-10 11:14:14 -07:00
..
date_tiered_db_impl.cc Reduce the number of params needed to construct DBIter 2017-04-10 11:14:14 -07:00
date_tiered_db_impl.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
date_tiered_test.cc Move various string utility functions into string_util 2017-04-06 14:54:12 -07:00