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

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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-04-20, Sharding 2020-05-04

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: