From 5db6447c4fb37191967a7ee7b128707937b621f4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 29 Nov 2018 16:47:17 -0800 Subject: [PATCH] ircd::db: Disable thread tracking; add compression to column open log msg. --- ircd/db.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ircd/db.cc b/ircd/db.cc index fdfa148b8..97140bca7 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -855,7 +855,7 @@ try opts.create_missing_column_families = true; opts.max_file_opening_threads = 0; opts.stats_dump_period_sec = 0; - opts.enable_thread_tracking = true; + opts.enable_thread_tracking = false; opts.avoid_flush_during_recovery = true; opts.delete_obsolete_files_period_micros = 0; opts.max_background_jobs = 2; @@ -1640,7 +1640,7 @@ ircd::db::database::column::column(database &d, log::debug { - log, "schema '%s' column [%s => %s] cmp[%s] pfx[%s] lru:%s:%s bloom:%zu %s", + log, "schema '%s' column [%s => %s] cmp[%s] pfx[%s] lru:%s:%s bloom:%zu compression:%d %s", db::name(d), demangle(key_type.name()), demangle(mapped_type.name()), @@ -1649,6 +1649,7 @@ ircd::db::database::column::column(database &d, cache_size? "YES": "NO", cache_size_comp? "YES": "NO", bloom_bits, + int(this->options.compression), this->descriptor->name }; }