[FIX] redesign ObFreezer to support multiple tablet freeze
This commit is contained in:
@ -221,7 +221,7 @@ TEST_F(ObLockTableBeforeRestartTest, test_commit_log)
|
||||
// wait until ls checkpoint updated.
|
||||
LOG_INFO("ObLockTableBeforeRestartTest::test_commit_log 1.4");
|
||||
// freeze data, make sure other type flushed.
|
||||
ASSERT_EQ(OB_SUCCESS, ls->logstream_freeze(false));
|
||||
ASSERT_EQ(OB_SUCCESS, ls->logstream_freeze(checkpoint::INVALID_TRACE_ID, false /*is_sync*/));
|
||||
while (ls->get_clog_checkpoint_scn() < rec_scn) {
|
||||
usleep(100 * 1000); // sleep 100 ms
|
||||
if (REACH_TIME_INTERVAL(10 * 1000 * 1000)) {
|
||||
|
||||
Reference in New Issue
Block a user