change parameter
This commit is contained in:
parent
ea5301847c
commit
2f90fda13d
|
@ -86,10 +86,10 @@ void* streamBackendInit(const char* path) {
|
||||||
rocksdb_options_set_env(opts, env);
|
rocksdb_options_set_env(opts, env);
|
||||||
rocksdb_options_set_create_if_missing(opts, 1);
|
rocksdb_options_set_create_if_missing(opts, 1);
|
||||||
rocksdb_options_set_create_missing_column_families(opts, 1);
|
rocksdb_options_set_create_missing_column_families(opts, 1);
|
||||||
rocksdb_options_set_write_buffer_size(opts, 128 << 20);
|
rocksdb_options_set_write_buffer_size(opts, 64 << 20);
|
||||||
rocksdb_options_set_max_total_wal_size(opts, 128 << 20);
|
rocksdb_options_set_max_total_wal_size(opts, 64 << 20);
|
||||||
rocksdb_options_set_recycle_log_file_num(opts, 6);
|
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);
|
rocksdb_options_set_info_log_level(opts, 0);
|
||||||
|
|
||||||
pHandle->env = env;
|
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);
|
qError("failed to open rocksdb cf, reason:%s", err);
|
||||||
taosMemoryFree(err);
|
taosMemoryFree(err);
|
||||||
} else {
|
} else {
|
||||||
qDebug("succ to open rocksdb cf, reason:%s", err);
|
qDebug("succ to open rocksdb cf, reason");
|
||||||
}
|
}
|
||||||
|
|
||||||
pIter = taosHashIterate(ids, NULL);
|
pIter = taosHashIterate(ids, NULL);
|
||||||
|
|
Loading…
Reference in New Issue