Sagar Vemuri c6d04f2ecf Option to fail a request as incomplete when skipping too many internal keys
Summary:
Operations like Seek/Next/Prev sometimes take too long to complete when there are many internal keys to be skipped. Adding an option, max_skippable_internal_keys -- which could be used to set a threshold for the maximum number of keys that can be skipped, will help to address these cases where it is much better to fail a request (as incomplete) than to wait for a considerable time for the request to complete.

This feature -- to fail an iterator seek request as incomplete, is disabled by default when max_skippable_internal_keys = 0. It is enabled only when max_skippable_internal_keys > 0.

This feature is based on the discussion mentioned in the PR https://github.com/facebook/rocksdb/pull/1084.
Closes https://github.com/facebook/rocksdb/pull/2000

Differential Revision: D4753223

Pulled By: sagar0

fbshipit-source-id: 1c973f7
2017-03-30 12:09:21 -07:00
..
2016-11-19 14:24:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-03-13 09:54:11 -07:00
2017-03-13 11:54:10 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-03-22 09:24:15 -07:00
2017-03-28 12:09:12 -07:00
2017-03-28 12:09:12 -07:00
2016-12-19 16:54:12 -08:00
2017-02-13 11:09:13 -08:00
2016-07-08 17:50:51 -07:00
2017-02-06 14:54:18 -08:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2017-02-23 12:09:11 -08:00
2016-11-03 18:54:20 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-29 15:54:19 -08:00
2017-02-16 10:39:13 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00
2017-03-13 11:54:10 -07:00
2017-02-06 14:54:18 -08:00
2016-11-21 18:09:13 -08:00