hanxi commented on code in PR #3294:
URL: https://github.com/apache/kvrocks/pull/3294#discussion_r2621591458


##########
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:
   Some cloud service providers support 256, for example, Tair's limit is 256. 
Using 1000 would just occupy three digits, such as aligning from db001 to db999.



-- 
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]

Reply via email to