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"

    • Fully Compatible
    • ALL
    • 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();
    • 0

      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

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: