Fix convertToCapped on sharded clusters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.2.0, 4.4.0, 5.0.0, 6.0.0, 7.0.0, 7.2.0
    • Component/s: None
    • Catalog and Routing
    • ALL
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      As currently implemented, there is a check in the router side to disallow executing the command on a sharded collection. However, this check can be stale and/or not serialize with DDL operations. This should be fixed.

      Also add an FSM test concurrent with DDL operations to check for correctness.

            Assignee:
            Unassigned
            Reporter:
            Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: