Yueh-Hsuan Chiang 14d0bfa429 Add DBOptions::skip_sats_update_on_db_open
Summary:
UpdateAccumulatedStats() is used to optimize compaction decision
esp. when the number of deletion entries are high, but this function
can slowdown DBOpen esp. in disk environment.

This patch adds DBOptions::skip_sats_update_on_db_open, which skips
UpdateAccumulatedStats() in DB::Open() time when it's set to true.

Test Plan: Add DBCompactionTest.SkipStatsUpdateTest

Reviewers: igor, anthony, IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: tnovak, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D42843
2015-08-04 13:48:16 -07:00
..
2015-03-17 14:08:00 -07:00
2015-03-12 21:13:53 +03:00
2015-07-22 14:36:43 -07:00
2015-07-01 16:13:56 -07:00
2015-03-17 14:08:00 -07:00
2015-04-25 18:14:27 +09:00
2014-11-07 15:04:30 -08:00
2015-06-18 13:56:31 -07:00
2015-03-17 14:08:00 -07:00
2014-08-19 06:48:21 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-07-16 13:56:17 +08:00
2015-03-17 14:08:00 -07:00
2015-07-20 17:20:40 -07:00
2015-07-22 12:27:39 -07:00
2015-03-17 14:08:00 -07:00
2014-11-14 11:38:26 -08:00
2015-03-17 14:08:00 -07:00
2014-11-20 10:49:32 -08:00
2015-07-16 11:22:21 +02:00
2015-04-25 18:14:27 +09:00
2015-04-25 18:14:27 +09:00
2015-07-01 16:13:56 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-13 13:50:18 -07:00
2015-01-23 18:10:52 -08:00
2014-07-28 12:10:49 -07:00
2013-12-03 12:42:15 -08:00
2014-07-28 12:22:37 -07:00
2014-11-21 11:05:28 -05:00
2015-07-01 16:13:56 -07:00
2015-03-17 14:08:00 -07:00
2015-07-01 16:13:56 -07:00