PragmaTwice commented on code in PR #3294:
URL: https://github.com/apache/kvrocks/pull/3294#discussion_r2619660040
##########
src/config/config.cc:
##########
@@ -890,6 +891,12 @@ Status Config::finish() {
if ((cluster_enabled) && !load_tokens.empty()) {
return {Status::NotOK, "enabled cluster mode wasn't allowed while the
namespace exists"};
}
+ if ((redis_databases > 0) && !load_tokens.empty()) {
+ return {Status::NotOK, "redis-databases > 0 wasn't allowed while the
namespace exists"};
Review Comment:
```suggestion
return {Status::NotOK, "redis-databases > 0 is not allowed while any
non-default namespace exists"};
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]