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

mongod 5.0.x crash on writing to collection with type=LSM

    • Minor Change
    • ALL
    • v6.0, v5.3, v5.0
    • Hide

      `m bin 5.0.8`/mongod --dbpath . --logpath ./mongod.log --fork

      `m bin 5.0.8`/mongo

      db.createCollection("collectionName2", {storageEngine: {wiredTiger:

      {configString: "type=lsm"}

      }});

      db.collectionName2.insert({_id: -1});

      Show
      `m bin 5.0.8`/mongod --dbpath . --logpath ./mongod.log --fork `m bin 5.0.8`/mongo db.createCollection("collectionName2", {storageEngine: {wiredTiger: {configString: "type=lsm"} }}); db.collectionName2.insert({_id: -1});
    • Execution Team 2022-07-11, Execution Team 2022-07-25

      Description:

      The mongod 5.0.x process (Tested on 5.0.6 and 5.0.8) crashes on attempting to write to a collection with "type=lsm". Log file attached.

      This worked till 4.4.x (Tested on 4.4.14)

       

      Steps to Reproduce:

      `m bin 5.0.8`/mongod --dbpath . --logpath ./mongod.log --fork

      `m bin 5.0.8`/mongo

      db.createCollection("collectionName2", {storageEngine: {wiredTiger:

      {configString: "type=lsm"}

      }});

      db.collectionName2.insert({_id: -1});

       

      Expected:

      Successful document insert

       

      Actual:

      mongod crash

      mongod.log Message: 

      {{"msg":"WiredTiger error","attr":

      {"error":45,"message":"[1651826662:752565][63214:0x30c404000]: int __wt_cursor_notsup(WT_CURSOR *), 4    6: Unsupported cursor operation: Operation not supported"}

      }}}

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            nitin.katkam@mongodb.com Nitin Katkam
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: