Skip to content

Commit 3a05007

Browse files
authored
fix:redundant-parameters in SERVER_STORAGE_META_SERVICE.init() that caused compilation errors (#151)
1 parent 82e1d45 commit 3a05007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/observer/ob_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ int ObServer::init(const ObServerOptions &opts, const ObPLogWriterCfg &log_cfg)
427427
LOG_ERROR("init tenant manager failed", KR(ret));
428428
} else if (OB_FAIL(startup_accel_handler_.init(SERVER_ACCEL))) {
429429
LOG_ERROR("init server startup task handler failed", KR(ret));
430-
} else if (OB_FAIL(SERVER_STORAGE_META_SERVICE.init(GCTX.is_shared_storage_mode()))) {
430+
} else if (OB_FAIL(SERVER_STORAGE_META_SERVICE.init())) {
431431
LOG_ERROR("init server storage meta handler failed", KR(ret));
432432
} else if (OB_FAIL(common::occam::ObThreadHungDetector::get_instance().init())) {
433433
LOG_ERROR("init sObThreadHungDetector failed", KR(ret));

0 commit comments

Comments
 (0)