Check slog disk during restart

This commit is contained in:
JiahuaChen
2024-04-16 08:16:15 +00:00
committed by ob-robot
parent eabb1ecfb0
commit 67d7a0f8de
11 changed files with 60 additions and 27 deletions

View File

@ -102,7 +102,7 @@ void TestTabletCreateMemtable::SetUp()
ASSERT_EQ(OB_SUCCESS, ret);
ObStorageLogger *slogger = nullptr;
SLOGGERMGR.init(dir_, MAX_FILE_SIZE, log_file_spec_);
SLOGGERMGR.init(dir_, dir_, MAX_FILE_SIZE, log_file_spec_);
SLOGGERMGR.register_tenant(1);
ret = SLOGGERMGR.get_tenant_storage_logger(1, slogger);
ASSERT_EQ(OB_SUCCESS, ret);