zhangyifan27 commented on a change in pull request #587:
URL: https://github.com/apache/incubator-pegasus/pull/587#discussion_r478344826
##########
File path: src/server/pegasus_server_impl.cpp
##########
@@ -1360,6 +1398,7 @@ ::dsn::error_code pegasus_server_impl::start(int argc,
char **argv)
if (db_exist) {
_last_committed_decree = _meta_store->get_last_flushed_decree();
_pegasus_data_version = _meta_store->get_data_version();
+ _usage_scenario = _meta_store->get_usage_scenario();
Review comment:
Indeed, maybe `get_usage_scenario()` should return
`ROCKSDB_ENV_USAGE_SCENARIO_NORMAL` if we couldn't find usage_scenario in
rocksdb meta column family.
----------------------------------------------------------------
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]