hanxi commented on code in PR #3294:
URL: https://github.com/apache/kvrocks/pull/3294#discussion_r2623299155
##########
src/config/config.cc:
##########
@@ -233,6 +233,7 @@ Config::Config() {
{"log-retention-days", true, new IntField(&log_retention_days, -1, -1,
INT_MAX)},
{"persist-cluster-nodes-enabled", false, new
YesNoField(&persist_cluster_nodes_enabled, true)},
{"redis-cursor-compatible", false, new
YesNoField(&redis_cursor_compatible, true)},
+ {"redis-databases", true, new IntField(&redis_databases, 0, 0, 10000)},
Review Comment:
After using INT_MAX, namespace names can no longer use zero-padded formats
like db001. Should we change them to db1 instead? Do you have any other
suggestions?
--
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]