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
..
2017-01-11 16:54:12 -08:00
2016-12-05 17:39:17 -08:00
2016-08-19 12:28:19 -07:00
2016-08-19 12:28:19 -07:00
2017-03-29 17:39:19 -07:00
2017-02-06 14:54:18 -08:00
2016-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-12-22 13:09:19 -08:00
2016-12-01 10:09:22 -08:00
2016-03-11 22:56:25 -08:00
2017-03-10 11:24:09 -08:00
2017-03-28 15:54:12 -07:00
2017-02-23 11:25:36 -08:00
2016-11-09 15:09:18 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2016-12-14 19:24:25 -08:00
2016-02-17 20:22:40 +08:00
2016-10-29 16:09:18 -07:00
2016-12-13 18:39:14 -08:00
2016-06-10 16:37:36 -07:00
2017-03-08 22:24:15 -08:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2017-03-13 11:54:10 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00