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

Temporarily ban tests that execute cleanup() or compact() operations with authoritative DB metadata shards

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As explained in SERVER-101750, the cleanup() and compact() functions first check the collection options using listCollections. If this listCollections command is sent to a secondary node, the node may not have replicated the collection yet and will return a NamespaceNotFound error.

      SERVER-101750 attempted a solution to reduce the probability of encountering this issue. I propose now banning the affected tests from running in the build variant where shards are authoritative for database metadata, allowing us to unblock SERVER-100036.

      Afterward, SERVER-101750 will once again serve as the ticket to continue investigating a permanent solution.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: