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
main
sdong 9 years ago
parent 3a2bccc845
commit 4939fc3892
  1. 2
      util/options.cc

@ -639,6 +639,8 @@ Options::PrepareForBulkLoad()
level0_file_num_compaction_trigger = (1<<30); level0_file_num_compaction_trigger = (1<<30);
level0_slowdown_writes_trigger = (1<<30); level0_slowdown_writes_trigger = (1<<30);
level0_stop_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 // no auto compactions please. The application should issue a
// manual compaction after all data is loaded into L0. // manual compaction after all data is loaded into L0.

Loading…
Cancel
Save