From 4939fc3892fef3ce6cf3fc84f58b01b3082b869a Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 16 Jun 2016 14:05:34 -0700 Subject: [PATCH] Bulk load mode shouldn't stop ingest Summary: We introduced default slow down and stop condition, but didn't reset it in bulk load mode. Fix it. Test Plan: N/A Reviewers: igor, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: leveldb, andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D59757 --- util/options.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/options.cc b/util/options.cc index cae77aaaf..6961a2e1c 100644 --- a/util/options.cc +++ b/util/options.cc @@ -639,6 +639,8 @@ Options::PrepareForBulkLoad() level0_file_num_compaction_trigger = (1<<30); level0_slowdown_writes_trigger = (1<<30); level0_stop_writes_trigger = (1<<30); + soft_pending_compaction_bytes_limit = 0; + hard_pending_compaction_bytes_limit = 0; // no auto compactions please. The application should issue a // manual compaction after all data is loaded into L0.