fix(emqx): Change incompatible DB backend message log to a warning
This commit is contained in:
parent
f35dfb01d1
commit
191916211b
2
bin/emqx
2
bin/emqx
|
@ -974,7 +974,7 @@ maybe_warn_default_cookie() {
|
||||||
## using Mnesia DB backend.
|
## using Mnesia DB backend.
|
||||||
if [[ "$IS_BOOT_COMMAND" == 'yes' && "$(get_boot_config 'node.db_backend')" == "rlog" ]]; then
|
if [[ "$IS_BOOT_COMMAND" == 'yes' && "$(get_boot_config 'node.db_backend')" == "rlog" ]]; then
|
||||||
if ! (echo -e "$COMPATIBILITY_INFO" | $GREP -q 'MNESIA_OK'); then
|
if ! (echo -e "$COMPATIBILITY_INFO" | $GREP -q 'MNESIA_OK'); then
|
||||||
logerr "DB Backend is RLOG, but an incompatible OTP version has been detected. Falling back to using Mnesia DB backend."
|
logwarn "DB Backend is RLOG, but an incompatible OTP version has been detected. Falling back to using Mnesia DB backend."
|
||||||
export EMQX_NODE__DB_BACKEND=mnesia
|
export EMQX_NODE__DB_BACKEND=mnesia
|
||||||
export EMQX_NODE__DB_ROLE=core
|
export EMQX_NODE__DB_ROLE=core
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue