Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90371

Acquisition of DDL lock hang indefinetly if executed on secondary node

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

       

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: