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

ConvertToCapped should check versioning

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • 20

    Description

      TheĀ ConvertToCapped command should not be run on sharded collections. But the command on an unsharded collection does not check for collection version from the mongos before executing the command. This can cause the command to be executed on a sharded cluster if sent from a stale mongos that doesn't know the collection is sharded.

      We should add a check in this command on the shard to ensure it does not run from a mongos with a stale collection version.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: