change parameter

This commit is contained in:
yihaoDeng 2023-05-25 16:15:10 +08:00
parent ea5301847c
commit 2f90fda13d
1 changed files with 4 additions and 4 deletions

View File

@ -86,10 +86,10 @@ void* streamBackendInit(const char* path) {
rocksdb_options_set_env(opts, env);
rocksdb_options_set_create_if_missing(opts, 1);
rocksdb_options_set_create_missing_column_families(opts, 1);
rocksdb_options_set_write_buffer_size(opts, 128 << 20);
rocksdb_options_set_max_total_wal_size(opts, 128 << 20);
rocksdb_options_set_write_buffer_size(opts, 64 << 20);
rocksdb_options_set_max_total_wal_size(opts, 64 << 20);
rocksdb_options_set_recycle_log_file_num(opts, 6);
rocksdb_options_set_max_write_buffer_number(opts, 3);
rocksdb_options_set_max_write_buffer_number(opts, 2);
rocksdb_options_set_info_log_level(opts, 0);
pHandle->env = env;
@ -740,7 +740,7 @@ int32_t streamStateOpenBackendCf(void* backend, char* name, SHashObj* ids) {
qError("failed to open rocksdb cf, reason:%s", err);
taosMemoryFree(err);
} else {
qDebug("succ to open rocksdb cf, reason:%s", err);
qDebug("succ to open rocksdb cf, reason");
}
pIter = taosHashIterate(ids, NULL);