Mike Kolupaev d18dd2c41f Abort compactions more reliably when closing DB
Summary:
DB shutdown aborts running compactions by setting an atomic shutting_down=true that CompactionJob periodically checks. Without this PR it checks it before processing every _output_ value. If compaction filter filters everything out, the compaction is uninterruptible. This PR adds checks for shutting_down on every _input_ value (in CompactionIterator and MergeHelper).

There's also some minor code cleanup along the way.
Closes https://github.com/facebook/rocksdb/pull/1639

Differential Revision: D4306571

Pulled By: yiwu-arbug

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