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

Specify that jstest only guarantees consistent behavior against mongod (not mongos)

    • Fully Compatible
    • v4.4
    • Sharding 2020-04-20, Sharding 2020-05-04

      There exists a jstest that attempts to create a cursor, then modifies the data underneath the cursor in order to see if the cursor picks up the changes. We don't guarantee any consistent behavior on the data underlying a created cursor, so this test shouldn't exist.

      Also get rid of these TODOs related to the test:

      buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml

          # TODO: SERVER-38215 delx.js touches 2 different collections, which makes it susceptible for
      -  # migration to happen in between and cause the transaction to abort due to StaleConfigException
      -  # because it is not the first op of the transaction.
      - jstests/core/delx.js
      

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: