Compare commits
7 Commits
r4.2.24
...
v4.2.1-dba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c9fa6bd90 | ||
|
|
6184c48a63 | ||
|
|
cadf7d8226 | ||
|
|
ab5daf7841 | ||
|
|
cbb1b4ef91 | ||
|
|
f2e5ed79d5 | ||
|
|
b511a045ab |
@@ -3,7 +3,7 @@
|
||||
* capable of yielding.
|
||||
*
|
||||
* @tags: [assumes_read_concern_unchanged, do_not_wrap_aggregations_in_facets, requires_journaling,
|
||||
* requires_sharding]
|
||||
* requires_sharding, requires_spawning_own_processes]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
@@ -77,4 +77,4 @@ assert.eq(sampleCursor.toArray().length, 3);
|
||||
// Confirm that the parallel shell completes successfully, and tear down the cluster.
|
||||
awaitShell();
|
||||
st.stop();
|
||||
})();
|
||||
})();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// SERVER-42756 Test that commutative arithmetic operations with special arguments doesn't violate
|
||||
// commutativity.
|
||||
// @tags: [uses_testing_only_commands]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// be wrapped into a facet stage to not prevent this optimization.
|
||||
// TODO SERVER-40323: Plan analyzer helper functions cannot correctly handle explain output for
|
||||
// sharded collections.
|
||||
// @tags: [do_not_wrap_aggregations_in_facets, assumes_unsharded_collection]
|
||||
// @tags: [do_not_wrap_aggregations_in_facets, assumes_unsharded_collection, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Tests to verify that the aggregation pipeline passthrough behaviour works as expected for stages
|
||||
* which have sub-pipelines, whose stages may have differing passthrough constraints. This test
|
||||
* exercises the fix for SERVER-41290.
|
||||
* @tags: [requires_sharding]
|
||||
* @tags: [requires_sharding, requires_spawning_own_processes]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Must be banned from suites that use a sharding fixture, since this test starts its own sharded
|
||||
* cluster. Must be banned in the $facet passthrough, since that suite changes the pipeline
|
||||
* splitting and merging behavior expected by this test.
|
||||
* @tags: [requires_sharding,do_not_wrap_aggregations_in_facets]
|
||||
* @tags: [requires_sharding,do_not_wrap_aggregations_in_facets, requires_spawning_own_processes]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @tags: [does_not_support_stepdowns, requires_profiling]
|
||||
// @tags: [does_not_support_stepdowns, requires_profiling, assumes_superuser_permissions]
|
||||
//
|
||||
// Tests that profiled $lookups contain the correct namespace and that Top is updated accordingly.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test $merge and exchange with explain.
|
||||
*
|
||||
* @tags: [requires_sharding]
|
||||
* @tags: [requires_sharding, requires_spawning_own_processes]
|
||||
*/
|
||||
load('jstests/aggregation/extras/utils.js');
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Tests a practical use case for $merge from a collection of samples to an hourly rollup output
|
||||
* collection.
|
||||
*
|
||||
* @tags: [requires_sharding]
|
||||
* @tags: [requires_sharding, requires_spawning_own_processes]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Basic $changeStream tests.
|
||||
// Mark as assumes_read_preference_unchanged since reading from the non-replicated "system.profile"
|
||||
// collection results in a failure in the secondary reads suite.
|
||||
// @tags: [assumes_read_preference_unchanged]
|
||||
// @tags: [assumes_read_preference_unchanged, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Basic tests for $changeStream against all databases in the cluster.
|
||||
// @tags: [assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// When run in sharded+transaction passthrough suites, it is possible that the two unsharded
|
||||
// collections will live on different shards. Majority read concern cannot be off with multi-shard
|
||||
// transactions, which is why this test needs the tag below.
|
||||
// @tags: [requires_majority_read_concern]
|
||||
// @tags: [requires_majority_read_concern, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Tests of metadata notifications for a $changeStream on a whole database.
|
||||
// Do not run in whole-cluster passthrough since this test assumes that the change stream will be
|
||||
// invalidated by a database drop.
|
||||
// @tags: [do_not_run_in_whole_cluster_passthrough]
|
||||
// @tags: [do_not_run_in_whole_cluster_passthrough, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Tests that an idle cursor will appear in the $currentOp output if the idleCursors option is
|
||||
* set to true.
|
||||
*
|
||||
* @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, requires_capped]
|
||||
* @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, requires_capped, uses_multiple_connections]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* Test that running explain() providing a collection UUID rather than collection name will fail
|
||||
* cleanly.
|
||||
* @tags: [uses_multiple_connections]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Tests the "failCommand" failpoint.
|
||||
* @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged]
|
||||
* @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, uses_testing_only_commands]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* - Confirm that writes can progress after fsyncUnlock
|
||||
* - Confirm that the command can be run repeatedly without breaking things
|
||||
*
|
||||
* @tags: [requires_fastcount, requires_fsync]
|
||||
* @tags: [requires_fastcount, requires_fsync, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* time or across architectures. This is a good place to put tests for any edge cases in the hash
|
||||
* function that might be prone to change because of code changes or because of differences between
|
||||
* architectures.
|
||||
* @tags: [uses_testing_only_commands]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Cannot implicitly shard accessed collections because of collection existing when none
|
||||
// expected. Also, the primary node cannot change because we use the local database in this test.
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns]
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns,
|
||||
// assumes_superuser_permissions]
|
||||
|
||||
t = db.jstests_index9;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Cannot implicitly shard accessed collections because of collection existing when none
|
||||
// expected. Also, the primary node cannot change because we use the local database in this test.
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns]
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns, assumes_superuser_permissions]
|
||||
|
||||
// Test creation of the _id index with various options:
|
||||
// - _id indexes must have key pattern {_id: 1}.
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
// # Sessions are asynchronously flushed to disk, so a stepdown immediately after calling
|
||||
// # startSession may cause this test to fail to find the returned sessionId.
|
||||
// does_not_support_stepdowns,
|
||||
// assumes_superuser_permissions
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Cannot implicitly shard accessed collections because of collection existing when none
|
||||
// expected.
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, requires_getmore]
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop,
|
||||
// requires_getmore, assumes_superuser_permissions]
|
||||
|
||||
// Basic functional tests for the listIndexes command.
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
// # Sessions are asynchronously flushed to disk, so a stepdown immediately after calling
|
||||
// # startSession may cause this test to fail to find the returned sessionId.
|
||||
// does_not_support_stepdowns,
|
||||
// assumes_superuser_permissions
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @tags: [does_not_support_stepdowns, requires_capped]
|
||||
// @tags: [does_not_support_stepdowns, requires_capped, assumes_superuser_permissions]
|
||||
|
||||
// Check that a warning message about doing a capped collection scan for a query with an _id
|
||||
// constraint is printed at appropriate times. SERVER-5353
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Forces the server to restart the catalog and rebuild its in-memory catalog data structures, then
|
||||
* asserts that the server works normally.
|
||||
* @tags: [
|
||||
* assumes_read_concern_unchanged, requires_majority_read_concern,
|
||||
* assumes_read_concern_unchanged, requires_majority_read_concern, uses_testing_only_commands,
|
||||
*
|
||||
* # restartCatalog command is not available on embedded
|
||||
* incompatible_with_embedded,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* @tags: [
|
||||
* assumes_read_preference_unchanged,
|
||||
* requires_fastcount,
|
||||
*
|
||||
* assumes_superuser_permissions,
|
||||
* # top command is not available on embedded
|
||||
* incompatible_with_embedded]
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 'transactionLifetimeLimitSeconds' to lower the transaction lifetime for quicker transaction
|
||||
// expiration.
|
||||
//
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests prepared transaction abort support.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// require taking further locks that would queue up behind the drop cmd's database exclusive lock
|
||||
// request.
|
||||
//
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Test that open unprepared transactions are aborted on FCV downgrade.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
load("jstests/libs/feature_compatibility_version.js");
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* Test that we wait for prepared transactions to finish during downgrade to FCV 4.0.
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, uses_testing_only_commands,
|
||||
* assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Tests that reads and writes to the config, admin, and local databases are forbidden within
|
||||
// transactions.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Test that commands other than retryable writes may not use txnNumber outside transactions.
|
||||
// @tags: [
|
||||
// requires_document_locking,
|
||||
// assumes_superuser_permissions
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests support for prepared transactions larger than 16MB.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests prepared transaction commit support.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
load("jstests/core/txns/libs/prepare_helpers.js");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test error cases for committing prepared transactions.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test that create collection only takes database IX lock and will not be blocked by transactions.
|
||||
*
|
||||
* @tags: [uses_transactions, requires_db_locking, assumes_unsharded_collection]
|
||||
* @tags: [uses_transactions, requires_spawning_own_processes, requires_db_locking, assumes_unsharded_collection]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests that currentOp reports debug information for operations that are blocked on transactions.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* be allowed to be called on a prepared transaction. All other cases should fail with
|
||||
* PreparedTransactionInProgress.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* will fail on commit. This tests the case where a race condition may lead to the running
|
||||
* transaction committing before it could be aborted due to downgrade.
|
||||
*
|
||||
* @tags: [uses_transactions]
|
||||
* @tags: [uses_transactions, uses_testing_only_commands]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test that drop collection only takes database IX lock and will not be blocked by transactions.
|
||||
*
|
||||
* @tags: [uses_transactions, requires_db_locking, assumes_unsharded_collection]
|
||||
* @tags: [uses_transactions, requires_spawning_own_processes, requires_db_locking, assumes_unsharded_collection]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests transactions that are prepared after no writes.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test that we can't call prepareTransaction if there isn't an active transaction on the session.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test error cases when calling prepare on a committed transaction.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Tests that the killCursors command is allowed in transactions.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Test that ongoing operations in a transaction are interrupted when the transaction expires.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Tests that killSessions kills inactive transactions.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests that transactions larger than 16MB can only be created in FCV 4.2.
|
||||
*
|
||||
* @tags: [uses_transactions]
|
||||
* @tags: [uses_transactions, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"uses strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Auto complete returns quickly if listCollections is blocked by the transaction lock.
|
||||
*
|
||||
* @tags: [uses_transactions, assumes_unsharded_collection]
|
||||
* @tags: [uses_transactions, assumes_unsharded_collection, uses_testing_only_commands]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Tests that we cannot start a new transaction when a prepared transaction exists on the session.
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Verify that readConcern: snapshot is not permitted outside transactions.
|
||||
*
|
||||
* @tags: [uses_transactions]
|
||||
* @tags: [uses_transactions, uses_testing_only_commands]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Tests that it is illegal to read from system.views within a transaction.
|
||||
// @tags: [uses_transactions, uses_snapshot_read_concern]
|
||||
// @tags: [uses_transactions, uses_snapshot_read_concern, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Tests that other than insertions, it is illegal to modify config.transactions while the session
|
||||
* has a prepared transaction.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Tests that it is illegal to write to system collections within a transaction.
|
||||
// @tags: [uses_transactions, uses_snapshot_read_concern]
|
||||
// @tags: [uses_transactions, uses_snapshot_read_concern, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests that prepare conflicts for prepared transactions are retried.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* should not block on prepare conflicts, but writing out to a collection as a part of an aggregate
|
||||
* pipeline should block on prepare conflicts.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test error cases when calling prepare on a non-existent transaction.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests that we can successfully prepare a prepared transaction.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Tests that 'prepareTransaction' only succeeds in FCV 4.2.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Transactions should not operate on temporary collections because they are for internal use only
|
||||
* and are deleted on both repl stepup and server startup.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* collection. Since there are prepared operations on documents in the collection, the read should
|
||||
* cause a prepare conflict.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Test that prepared transactions don't block DDL operations on the non-conflicting collections.
|
||||
// @tags: [uses_transactions, uses_prepare_transaction]
|
||||
// @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test that rename collection only takes database IX lock and will not be blocked by transactions.
|
||||
*
|
||||
* @tags: [uses_transactions, requires_db_locking, assumes_unsharded_collection]
|
||||
* @tags: [uses_transactions, requires_spawning_own_processes, requires_db_locking, assumes_unsharded_collection]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* A speculative snapshot must not include any writes ordered after any uncommitted writes.
|
||||
*
|
||||
* @tags: [uses_transactions]
|
||||
* @tags: [uses_transactions, uses_testing_only_commands]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Makes sure all commands which are supposed to take statement ids do. This should test all
|
||||
// commands that are allowed in transactions.
|
||||
// @tags: [uses_transactions, uses_prepare_transaction]
|
||||
// @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Tests that timestamped reads, reads with snapshot and afterClusterTime, wait for the prepare
|
||||
* transaction oplog entry to be visible before choosing a read timestamp.
|
||||
*
|
||||
* @tags: [uses_transactions, uses_prepare_transaction]
|
||||
* @tags: [uses_transactions, uses_prepare_transaction, uses_testing_only_commands]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Tests that locks acquisitions for profiling in a transaction have a 0-second timeout.
|
||||
// @tags: [uses_transactions]
|
||||
// @tags: [uses_transactions, uses_multiple_connections]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// embedded null character (SERVER-36859).
|
||||
//
|
||||
// The 'restartCatalog' command is not available on embedded.
|
||||
// @tags: [ incompatible_with_embedded, SERVER-38379 ]
|
||||
// @tags: [ incompatible_with_embedded, SERVER-38379, assumes_superuser_permissions ]
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
Reference in New Issue
Block a user