Operational Defect Database

BugZero found this defect 44 days ago.

MongoDB | 2633270

concurrent_drops_and_creates.js may sporadically fail in multi-shard cluster test fixtures

Last update date:

4/5/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Due to a known limitation of distributed transaction, the concurrent_drops_and_creates.js test may cause sporadic failures when executed against a sharded cluster containing more than one shard, under the following circumstances: DB1 gets created, with shard1 randomly picked as its primary shard The unsplittable DB1.coll1 collection gets created DB2 gets created, with shard2 randomly picked as its primary shard a new transaction is opened a new document is inserted into DB1.coll1; being the recipient of the first TXN write op, shard1 becomes the coordinator of the transaction the unsplittable collection DB2.coll2 gets created on non-TXN coordinating shard2 The transaction commit fails with an unexpected OperationNotSupportedInTransaction due to step 6.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...