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

getMore looks up doc with invalid RecordId, fails with "Didn't find RecordId in WiredTigerRecordStore"

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      db.foo.drop();
      db.foo.ensureIndex({a: 'text'});
       
      db.foo.insert({a: 'bar'});
      db.foo.insert({a: 'bar'});
      db.foo.insert({a: 'bar'});
       
      var cursor = db.foo.find({$text: {$search: 'bar'}});
      cursor.batchSize(2);
      cursor.next();
      cursor.next();
       
      db.foo.remove({$text: {$search: 'bar'}});
       
      // this calls triggers a 'Didn't find RecordId in WiredTigerRecordStore' error
      cursor.itcount();

      Show
      db.foo.drop(); db.foo.ensureIndex({a: 'text'});   db.foo.insert({a: 'bar'}); db.foo.insert({a: 'bar'}); db.foo.insert({a: 'bar'});   var cursor = db.foo.find({$text: {$search: 'bar'}}); cursor.batchSize(2); cursor.next(); cursor.next();   db.foo.remove({$text: {$search: 'bar'}});   // this calls triggers a 'Didn't find RecordId in WiredTigerRecordStore' error cursor.itcount();
    • Linked BF Score:
      0

      Description

      The included script reliably triggers a 'Didn't find RecordId in WiredTigerRecordStore' error. I wasn't able to trigger the error by using a non-text index and non-text queries in the script.

      This issue might be related to SERVER-16336 (and, by extension, SERVER-16351).


      Version: b0014456

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.storch David Storch
              Reporter:
              kamran.khan Kamran K.
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: