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

find command should validate $_internalReadAtClusterTime is not null

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: 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

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

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

              Created:
              Updated:
              Resolved: