placeholder for condition variable and lock for independent dag refactor.

This commit is contained in:
Tsunaou
2025-03-04 07:16:18 +00:00
committed by ob-robot
parent 0fc2e1410e
commit 343b3186bf
3 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ LATCH_DEF_##enable(def, id, name, policy, max_spin_cnt, max_yield_cnt)
#undef LATCH_DEF_true
#undef LATCH_DEF_false
static_assert(ARRAYSIZEOF(OB_LATCHES) == 259, "DO NOT delete latch defination");
static_assert(ARRAYSIZEOF(OB_LATCHES) == 260, "DO NOT delete latch defination");
static_assert(ObLatchIds::LATCH_END == ARRAYSIZEOF(OB_LATCHES) - 1, "update id of LATCH_END before adding your defination");
}

View File

@ -383,8 +383,8 @@ LATCH_DEF(SSWRITER_CTX_LOCK, 348, "sswriter ctx lock", LATCH_FIFO, 2000, 0, true
LATCH_DEF(MABLK_BF_LOAD_TASKL_LOCK, 349, "macro block bloom filter load task lock", LATCH_FIFO, 2000, 0, true)
LATCH_DEF(PS_CURSOR_LOCK, 350, "ps cursor lock", LATCH_FIFO, 2000, 0, true)
LATCH_DEF(LATCH_END, 351, "latch end", LATCH_FIFO, 2000, 0, true)
LATCH_DEF(DAG_EXECUTOR_LOCK, 351, "dag executor lock", LATCH_FIFO, 2000, 0, true)
LATCH_DEF(LATCH_END, 352, "latch end", LATCH_FIFO, 2000, 0, true)
#endif

View File

@ -128,6 +128,7 @@ WAIT_EVENT_DEF(LOCK_FOR_READ_WAIT, 18102, "sleep: lock for read need wait for co
WAIT_EVENT_DEF(DEADLOCK_MGR_BUCKET_LOCK, 18103, "latch: deadlock manager bucket access wait", "spin count", "", "", CONCURRENCY, true, true)
WAIT_EVENT_DEF(MEMTABLE_CTX_ACCESS_LOCK, 18104, "latch: memtable context access wait", "spin count", "", "", CONCURRENCY, true, true)
WAIT_EVENT_DEF(LS_REPLAY_CTRL_LOCK, 18105, "latch: logstream replay control wait", "spin count", "", "", CONCURRENCY, true, true)
WAIT_EVENT_DEF(INDEPENDENT_DAG_COND_WAIT, 18106, "independent dag condition wait", "address", "", "", CONCURRENCY, true, true)
//sleep
WAIT_EVENT_DEF(BANDWIDTH_THROTTLE_SLEEP, 20000, "sleep: bandwidth throttle sleep wait", "sleep_interval", "", "", NETWORK, true, true)