-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 7.0.10, 8.0.0-rc4
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
-
CAR Team 2024-08-19, CAR Team 2024-09-02, CAR Team 2024-09-16, CAR Team 2024-09-30
-
2
If a secondary node tries to acquire a DDL lock, the thread will get hung waiting here for the node to become primary again.
Until now, we have relied on the callers to ensure the node is the primary and the operation context is marked as interruptible when the DDL lock is acquired. However, we don't have any guarantees that this is going to be true.
The purpose of this ticket is to throw an error when the node is not the primary, instead of waiting for being the primary.