[6.0] Initial sync fails when the source has TTL indexes on a capped collection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Storage Execution 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      We explicitly disallowed creating new TTL indexes on capped collections in SERVER-26287 (fcv 5.2). When a replica set upgrades to 6.0 (we allowed and kept existing TTL indexes on capped collections) and a new node syncs from a node with TTL indexes on capped collections, the logical initial sync fails with cloning error due to not being able to create the index on the syncing node.

            Assignee:
            Yuhong Zhang
            Reporter:
            Yuhong Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: