yuqi1129 opened a new issue, #13183: URL: https://github.com/apache/gravitino/issues/13183
### Describe the subtask Final step of the epic, gated on G1–G6. There are 161 `doWithTreeLock` call sites on `main` (2026-09-15). Deliverables, in order: 1. Check in a table of all call sites: what each locks, which rows it touches, what replaces it, which test proves it. 2. Remove the six locks in `PartitionOperationDispatcher` (no store write). 3. Remove the metalake WRITE lock from `dropCatalog`/`alterCatalog` (replaced by the wrapper lease from #12403 and the catalog-row lock). 4. Remove the locks per family (table/schema/topic/view/function drop+rename; create under a parent; import on read; tag/policy/owner/statistic managers; access control; jobs), each behind its passing two-server test. 5. Replace `LockManager`/`TreeLockNode` with a `ConcurrentMap<NameIdentifier, ReadWriteLock>` behind the unchanged `doWithTreeLock` signature for the guards that stay; remove the deadlock checker and node cleanup thread; keep `gravitino.lock.*` for one release; add a nested-lock test (a fixed-size striped lock deadlocks on parent/child collisions). 6. Lock-order and deadlock-timeout tests on MySQL/PostgreSQL/H2; contention benchmark against the current baseline (#9875). Design: implementation design Part 6. Gate G6. ### Parent issue https://github.com/apache/gravitino/issues/10238 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
