collMod command allows converting index on capped collection to TTL, leading to invariant failure

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0, 5.1.2
    • Affects Version/s: 5.1.0-rc0
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v5.1
    • Execution Team 2021-11-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The changes from 2b7d116 as part of SERVER-13938 enabled the collMod command to convert a non-TTL index into a TTL index. The conversion must be disallowed for capped collections to avoid triggering this invariant in the TTL monitor.

            Assignee:
            Gabriel Marks
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: