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

Reject expireAfterSeconds with clusteredIndex when it's set to false

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-01-24

    Description

      As discovered during a PR, creating a collection with {clusteredIndex: false, expireAfterSeconds: <num>} leads to a valid command execution.

      This means we are accepting options that aren't used as we are saying not to use clustering but at the same time giving clustering options, which gives the impression that everything was accepted when it was not.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: