Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYu0123 committed Sep 5, 2020
1 parent f3f468f commit f2722f7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions be/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ namespace config {
CONF_mInt32(unused_rowset_monitor_interval, "30");
CONF_String(storage_root_path, "${DORIS_HOME}/storage");

// Config is used to check incompatible old format hdr_ format
// whether doris uses strict way. When config is true, process will log fatal
// and exit. When config is false, process will only log warning.
CONF_Bool(storage_strict_check_incompatible_old_format, "true");

// BE process will exit if the percentage of error disk reach this value.
Expand Down
9 changes: 9 additions & 0 deletions docs/en/administrator-guide/config/be_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,15 @@ Indicates how many tablets in this data directory failed to load. At the same ti

### `storage_root_path`

### `storage_strict_check_incompatible_old_format`
* Type: bool
* Description: Used to check incompatible old format strictly
* Default value: true
* Dynamically modify: false

This config is used to check incompatible old format hdr_ format whether doris uses strict way. When config is true,
process will log fatal and exit. When config is false, process will only log warning.

### `streaming_load_max_mb`

* Type: int64
Expand Down
9 changes: 9 additions & 0 deletions docs/zh-CN/administrator-guide/config/be_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,15 @@ load tablets from header failed, failed tablets size: xxx, path=xxx

### `storage_root_path`

### `storage_strict_check_incompatible_old_format`
* 类型:bool
* 描述:用来检查不兼容的旧版本格式时是否使用严格的验证方式
* 默认值: true
* 可动态修改:否

配置用来检查不兼容的旧版本格式时是否使用严格的验证方式,当含有旧版本的 hdr 格式时,使用严谨的方式时,程序会
打出 fatal log 并且退出运行;否则,程序仅打印 warn log.

### `streaming_load_max_mb`

* 类型:int64
Expand Down

0 comments on commit f2722f7

Please sign in to comment.