Ensure valid jsonSchema in timeseries updates

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • 8.2.13, 8.0.29, 7.0.40, 8.3.8, 9.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • ALL
    • v9.0, v8.3, v8.2, v8.0, v7.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      printjson(testDb.runCommand({
      create:'ts',
      timeseries: \{timeField:'t', metaField:'m'}
      }));
      
      printjson(testDb.ts.insert(\{t: new Date(), m: 1, x: 1}));
       
      printjson(testDb.runCommand({
      update:'ts',
      updates: [
      {
      q: \{$jsonSchema: []},
      u: \{$set: {m:2}},
      multi:true
      }
      ]
      }));

            Assignee:
            Santiago Roche
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: