summaryrefslogtreecommitdiff
path: root/jstests
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45549 make aggregate command on mongos always send RWC (and use RWC ↵Kevin Pulo2020-01-271-3/+0
| | | | defaults)
* SERVER-45249 Make recipient wait for orphan cleanup before cloning indexesCheahuychou Mao2020-01-271-5/+5
|
* SERVER-45647 Remove lsid and txnNumber from MigrationCoordinator docAlex Taskov2020-01-271-2/+0
|
* SERVER-44953 Secondaries should restart index builds when a commitIndexBuild ↵Louis Williams2020-01-272-7/+98
| | | | | | | oplog entry is processed but no index build is active Additionally, only abort an index build after a user interrupt if we are still primary. During two-phase index builds, rely on the new primary to finish the index build.
* SERVER-45382 indexbg_restart_secondary.js should shutdown secondary normallyLouis Williams2020-01-271-29/+33
|
* SERVER-45568 Expand OCSP+CRL features in test cert generatorShreyas Kalyan2020-01-273-0/+103
|
* SERVER-45641: Tag awaitdata_getmore_new_last_committed_optime.js ↵Lingzhi Deng2020-01-271-1/+5
| | | | requires_snapshot_read
* SERVER-45645 require test logs for sharding comment_fields testSophie Saskin2020-01-271-1/+1
|
* SERVER-45253 Throw errors on invalid options for sharded cluster count commandKatherine Wu2020-01-271-96/+78
|
* SERVER-43988 add js tests for running the shutdown command while index ↵Benety Goh2020-01-272-0/+122
| | | | | | | builds are in progress create mode 100644 jstests/noPassthrough/index_shutdown_cmd_primary.js create mode 100644 jstests/noPassthrough/index_shutdown_cmd_secondary.js
* SERVER-45637 Blacklist mapReduce tests that use output mode merge from ↵Nicholas Zolnierz2020-01-273-0/+9
| | | | multiversion suites
* SERVER-45634 Add requires_fcv_44 tag to migration_sets_fromMigrate_flag.jsAlex Taskov2020-01-271-0/+1
|
* SERVER-40620 uassert and log when fetching dangling index entryJustin Seyster2020-01-271-0/+69
| | | | | | | | | | | | If a FETCH_STAGE encounters a record id that does not reference any existing documents, that means either the document was deleted since query execution encountered the index entry or their is corruption somewhere. If the snapshot id indicates that the query has not yielded since the time that the index entry was loaded, that leaves corruption as the only possibility. We return and error and write to the log with instructions on how to address potentially inconsistent data. create mode 100644 jstests/noPassthrough/query_yields_catch_index_corruption.js
* SERVER-43918 Upgrade/downgrade process for compound hashed shard keysbanarun2020-01-271-0/+211
| | | | create mode 100644 jstests/multiVersion/compound_hashed_shard_key.js
* SERVER-45636 Tag out_drop_temp_collection.js as requiring replication and ↵David Storch2020-01-271-2/+8
| | | | sharding.
* SERVER-44848 improve running time of noPassthrough/merge_max_time_ms.jsAnton Korshunov2020-01-271-5/+7
|
* SERVER-44520 Make mongo's isMaster wait maxAwaitTimeMSTess Avitabile2020-01-272-126/+160
|
* SERVER-44435 Allow selective whitelisting of X509 based role authorizationsSara Golemon2020-01-273-0/+254
| | | | | create mode 100644 jstests/ssl/tlsCATrusts.js create mode 100644 jstests/ssl/x509/trusted-client-testdb-roles.pem
* SERVER-44814 Support waitInIsMaster failpoint on mongosTess Avitabile2020-01-271-0/+37
|
* SERVER-44418 Optimise distinct queries to use DISTINCT_SCAN in the presence ↵Arun Banala2020-01-273-68/+179
| | | | | | of compound hashed index. create mode 100644 jstests/core/distinct_with_hashed_index.js
* SERVER-43721 Make the AuthorizationManager use DistCacheKaloian Manassiev2020-01-276-217/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DistCache (to be later renamed to ReadThroughCache) was derived from the same implementation under AuthorizationManager and this change removes the code duplication. In addition, it makes the following changes to InvalidatingLRUCache and the DistCache: * Simplifies and optimises the InvalidatingLRUCache: The way it is implemented now, it performs up to 3 operations per lookup, unvalidates entries unnecessarily and has overly complicated logic, which is source of a crash. Instead of fixing the bug, this change rewrites it in a simpler way, which introduces a ValueHandle instead of bare shared_ptr for the return value, and only performs additional work if entries fall off the underlying LRUCache. * Moves the DistCache under src/util and adds unit tests: This change pulls the DistCache (which is the main consumer of InvalidatingLRUCache) into its own library and moves it to be under src/util like the other caches and adds unit tests. delete mode 100644 jstests/auth/pinned_users.js create mode 100644 jstests/auth/pinned_users_clear_pinned_user_list.js create mode 100644 jstests/auth/pinned_users_exclusive_lock_on_admin.js create mode 100644 jstests/auth/pinned_users_remove_user_document_unpins_user.js create mode 100644 src/mongo/util/dist_cache.cpp rename src/mongo/{db => util}/dist_cache.h (56%) create mode 100644 src/mongo/util/dist_cache_test.cpp
* SERVER-45098 test that RWC defaults are correctly applied to commandsKevin Pulo2020-01-271-0/+853
|
* SERVER-44501 Modify the RoutingTableHistory to check if a particular shard ↵Blake Oler2020-01-2721-23/+155
| | | | has been indicated to need a refresh
* SERVER-44515 Test that TopologyCoordinator::awaitIsMasterResponse returns ↵Jason Chan2020-01-272-37/+117
| | | | early on secondary topology changes
* SERVER-45472 Ensure RoleGraph can serialize authentication restrictions to BSONSpencer Jackson2020-01-271-0/+8
|
* SERVER-45564 test SIGUSR2 multithread stacktraceBilly Donahue2020-01-271-0/+19
|
* SERVER-45179 Add the FCV 4.4 behavior to the MigrationDestinationManagerAlex Taskov2020-01-274-23/+19
|
* SERVER-45485 Test in resubmit_rangedeletions_on_stepup.js is interfered with ↵Alex Taskov2020-01-271-63/+54
| | | | by the MigrationCoordinator
* SERVER-45079 Only allow addition or removal of a single voting node in ↵William Schultz2020-01-274-7/+11
| | | | non-force reconfig
* SERVER-45400 Reduce OplogFetcher getMore awaitData timeout for nodes in ↵Ryan Timmons2020-01-271-0/+18
| | | | RollbackTest
* SERVER-42037 Add requires_persistence to freeStorageSize jstestDaniel Ernst2020-01-271-1/+3
|
* SERVER-45411 Complete TODO listed in SERVER-43279Matthew Russotto2020-01-272-6/+4
|
* SERVER-43917 Support pre-splitting compound hashed shard keys with ↵Arun Banala2020-01-271-36/+278
| | | | 'presplitHashedZones' flag
* SERVER-45201 add createIndexes fast path for index builds on empty collectionsBenety Goh2020-01-271-0/+84
|
* SERVER-45473 Ban incompatible tests from multiversion suiteA. Jesse Jiryu Davis2020-01-275-4/+18
| | | | | retryable_write_error_labels.js is a sharding test, and it's incompatible with the replication multiversion suite because the latest mongos is incompatible with the last stable mongod. Move it from replsets/ to sharding/. This solves a build failure today by removing the test from the replication multiversion suite, and will prevent future similar problems stemming from having a sharding test in replsets/.
* SERVER-45513 Make index_operations_abort_concurrent_outgoing_migrations.js ↵Cheahuychou Mao2020-01-272-3/+20
| | | | only check that index commands did not run on recipient when the commands are run after steady state is reached
* SERVER-44761 Use new readDumpFile shell helper for tests instead of bsondumpAndrew Morrow2020-01-271-16/+11
|
* SERVER-45201 fix index tests to avoid empty collection optimizationBenety Goh2020-01-2710-2/+54
| | | | These tests rely on fail points that work only with index builds on non-empty collections.
* SERVER-45501 RollbackTest shouldn't run serverStatus against node that may ↵William Schultz2020-01-271-4/+7
| | | | be in ROLLBACK
* SERVER-45483 Stale Shard Version errors are not retried if another error is ↵Marcos José Grillo Ramírez2020-01-271-8/+11
| | | | | | returned Temporarily allow MultipleErrorsOccurred on read_only tests
* SERVER-45497 Add tests that will be fixed by future backport to ↵Samyukta Lanka2020-01-273-3/+3
| | | | backports_required_for_multiversion_tests.yml
* SERVER-45484: Blacklist rollback_after_enabling_majority_reads.js from ↵Lingzhi Deng2020-01-271-1/+1
| | | | multiversion suite
* SERVER-45495 Add tag to merge_with_drop_shard.js and ↵Janna Golden2020-01-272-1/+2
| | | | convert_to_and_from_sharded.js
* SERVER-45486 Add information to debug index key count mismatch issue in ↵Arun Banala2020-01-271-4/+16
| | | | 'hashed_index_bad_keys_cleanup.js'
* SERVER-45391 oplog_format_create_indexes.js ignores 'ns' field from 4.2 serverBenety Goh2020-01-271-2/+3
|
* SERVER-45487 Add requires_fcv_44 tag to migration_coordinator_basic.jsEsha Maharishi2020-01-271-0/+3
|
* SERVER-37791 Prevent exclusion of non-existent field from affecting field order.David Storch2020-01-271-0/+33
| | | | | | Exclusion of an existing field can still affect the field order produced by subsequent $project or $addFields stages. Changing this is left as future work.
* SERVER-45248 Retry transaction on CursorNotFound error for ↵Arun Banala2020-01-271-1/+5
| | | | 'multi_statement_transaction_atomicity_isolation' tests
* SERVER-45421 Fix transactions_block_ddl.js to use write concern "majority" ↵Suganthi Mani2020-01-271-4/+19
| | | | for commands run as part of setup phase.
* SERVER-42037 Add freeListSize collection stat with scale supportDaniel Ernst2020-01-271-0/+43
|