0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 15:30:52 +01:00

ircd::db: Disable thread tracking; add compression to column open log msg.

This commit is contained in:
Jason Volk 2018-11-29 16:47:17 -08:00
parent d1bfba2204
commit 5db6447c4f

View file

@ -855,7 +855,7 @@ try
opts.create_missing_column_families = true; opts.create_missing_column_families = true;
opts.max_file_opening_threads = 0; opts.max_file_opening_threads = 0;
opts.stats_dump_period_sec = 0; opts.stats_dump_period_sec = 0;
opts.enable_thread_tracking = true; opts.enable_thread_tracking = false;
opts.avoid_flush_during_recovery = true; opts.avoid_flush_during_recovery = true;
opts.delete_obsolete_files_period_micros = 0; opts.delete_obsolete_files_period_micros = 0;
opts.max_background_jobs = 2; opts.max_background_jobs = 2;
@ -1640,7 +1640,7 @@ ircd::db::database::column::column(database &d,
log::debug 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), db::name(d),
demangle(key_type.name()), demangle(key_type.name()),
demangle(mapped_type.name()), demangle(mapped_type.name()),
@ -1649,6 +1649,7 @@ ircd::db::database::column::column(database &d,
cache_size? "YES": "NO", cache_size? "YES": "NO",
cache_size_comp? "YES": "NO", cache_size_comp? "YES": "NO",
bloom_bits, bloom_bits,
int(this->options.compression),
this->descriptor->name this->descriptor->name
}; };
} }