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

find command should validate $_internalReadAtClusterTime is not null

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • Hide

      (function() {
          // resmoke --suite=jstestfuzz_replication repro.js
       
          assert.commandWorked(db.coll.insert({a: 1}));
       
          // Invariant failure !(provided && provided->isNull())
          assert.commandWorked(
              db.coll.runCommand('find', {$_internalReadAtClusterTime: Timestamp(0, 0)}));
      })();
      

      Show
      ( function () { // resmoke --suite=jstestfuzz_replication repro.js   assert.commandWorked(db.coll.insert({a: 1}));   // Invariant failure !(provided && provided->isNull()) assert.commandWorked( db.coll.runCommand( 'find' , {$_internalReadAtClusterTime: Timestamp(0, 0)})); })();
    • STM 2019-05-06
    • 7
    • 1

    Description

      The 'find' command will hit an invariant failure here when a command sends a null timestamp, Timestamp(0,0).

      Attachments

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: