Making an index unique in in-memory build variants causes server crash

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Hide

      Run this test through the jsCore suite in an in-memory build variant.

      coll = db.coll;
      
      assert.commandWorked(coll.createIndex({e: 1}));
      
      assert.commandWorked(
          db.runCommand({
              collMod: coll.getName(),
              index: {keyPattern: {e: 1}, prepareUnique: true},
          }),
      );
      
      assert.commandWorked(
          db.runCommand({
              collMod: coll.getName(),
              index: {keyPattern: {e: 1}, unique: true},
          }),
      ); 
      Show
      Run this test through the jsCore suite in an in-memory build variant. coll = db.coll; assert .commandWorked(coll.createIndex({e: 1})); assert .commandWorked(     db.runCommand({         collMod: coll.getName(),         index: {keyPattern: {e: 1}, prepareUnique: true },     }), ); assert .commandWorked(     db.runCommand({         collMod: coll.getName(),         index: {keyPattern: {e: 1}, unique: true },     }), );
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Making an index unique in in-memory build variants causes server crash.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: