levy5307 commented on a change in pull request #689:
URL: https://github.com/apache/incubator-pegasus/pull/689#discussion_r567530633
##########
File path: src/server/pegasus_server_impl_init.cpp
##########
@@ -348,6 +348,22 @@
pegasus_server_impl::pegasus_server_impl(dsn::replication::replica *r)
_db_opts.max_open_files = static_cast<int>(max_open_files);
ddebug_replica("rocksdb_max_open_files = {}", _db_opts.max_open_files);
+ // Configurations of rocksdb info-log.
+ // By default, we keep 10 days of info-logs at maximum, combined with the
total size limit
+ // of 10*32MB = 320MB.
+ _db_opts.keep_log_file_num = dsn_config_get_value_int64(
Review comment:
DSN_DEFINE_***
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]