Yi Wu ee027fc19f Ignore write stall triggers when auto-compaction is disabled
Summary:
My understanding is that the purpose of write stall triggers are to wait for auto-compaction to catch up. Without auto-compaction, we don't need to stall writes.

Also with this diff, flush/compaction conditions are recalculated on dynamic option change. Previously the conditions are recalculate only when write stall options are changed.

Test Plan: See the new test. Removed two tests that are no longer valid.

Reviewers: IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D61437
2016-08-02 21:55:26 -07:00
..
2016-05-17 13:11:56 -07:00
2016-05-17 13:11:56 -07:00
2016-07-26 11:15:14 -07:00
2016-06-09 19:03:10 -07:00
2016-07-08 17:50:51 -07:00
2016-07-08 17:50:51 -07:00
2016-07-27 18:45:53 -07:00
2016-07-13 15:36:22 -07:00
2016-06-25 08:29:40 +01:00