Skip to content

Commit

Permalink
[enhancement](start) ignore lowercase names in conf if it is invalid
Browse files Browse the repository at this point in the history
If lowercase_table_names in fe.conf and meta are not same, we can
only use value in meta. So exit is helpless.
  • Loading branch information
dataroaring committed Sep 23, 2024
1 parent ace2796 commit 6fe0e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
Original file line number Diff line number Diff line change
Expand Up @@ -1953,11 +1953,11 @@ private void checkLowerCaseTableNames() {
}
}
if (Config.lower_case_table_names != GlobalVariable.lowerCaseTableNames) {
LOG.error("The configuration of \'lower_case_table_names\' does not support modification, "
LOG.warn("The configuration of \'lower_case_table_names\' does not support modification, "
+ "the expected value is {}, but the actual value is {}",
GlobalVariable.lowerCaseTableNames,
Config.lower_case_table_names);
System.exit(-1);
Config.lower_case_table_names = GlobalVariable.lowerCaseTableNames;
}
LOG.info("lower_case_table_names is {}", GlobalVariable.lowerCaseTableNames);
}
Expand Down

0 comments on commit 6fe0e66

Please sign in to comment.