From ada88b63f5102ff9c7ec6a4bd853414fda7016b6 Mon Sep 17 00:00:00 2001 From: flabby Date: Fri, 8 Apr 2016 00:02:28 +0800 Subject: [PATCH] fix wrong assignment of level0_stop_writes_trigger in spatialdb (#1061) --- utilities/spatialdb/spatial_db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/spatialdb/spatial_db.cc b/utilities/spatialdb/spatial_db.cc index e7943120c..496467a2b 100644 --- a/utilities/spatialdb/spatial_db.cc +++ b/utilities/spatialdb/spatial_db.cc @@ -713,7 +713,7 @@ ColumnFamilyOptions GetColumnFamilyOptions(const SpatialDBOptions& options, column_family_options.target_file_size_base = 64 * 1024 * 1024; // 64MB column_family_options.level0_file_num_compaction_trigger = 2; column_family_options.level0_slowdown_writes_trigger = 16; - column_family_options.level0_slowdown_writes_trigger = 32; + column_family_options.level0_stop_writes_trigger = 32; // only compress levels >= 2 column_family_options.compression_per_level.resize( column_family_options.num_levels);