shardCollection with Time Series options on an existing normal collection must fail

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 7.3.0
    • Component/s: None
    • Catalog and Routing
    • ALL
    • v8.1, v8.0, v7.3, v7.0, v6.0, v5.0
    • Hide
      db.getSiblingDB("test").createCollection("coll")
      db.getSiblingDB('admin').runCommand({shardCollection: 'test.coll', key: {timestamp:1}, timeseries: { timeField: "timestamp", metaField: "metadata" }});
      
      Show
      db.getSiblingDB( "test" ).createCollection( "coll" ) db.getSiblingDB( 'admin' ).runCommand({shardCollection: 'test.coll' , key: {timestamp:1}, timeseries: { timeField: "timestamp" , metaField: "metadata" }});
    • CAR Team 2024-02-19, CAR Team 2024-04-15, CAR Team 2024-04-29, CAR Team 2024-05-13, CAR Team 2024-05-27, CAR Team 2024-06-10
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Attempt to shard a normal collection passing timeseries option should fail instead is succeeding.

              Assignee:
              Unassigned
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: