Operational Defect Database

BugZero found this defect 52 days ago.

MongoDB | 2625621

Reconsider collection creation behavior in unsplittable_collections_on_random_shard_jscore_txns

Last update date:

3/28/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The unsplittable_collections_on_random_shard_jscore_txns suite is testing transactions with unsplittable collections residing on arbitrary shards: the mongos is choosing a random dataShard before forwarding the createCollection request. Since collection creation is disallowed within distributed transactions, the test behavior should be to always choose the primary shard here in case the operation context contains a txnNumber. This kind of defeats the whole purpose of the suite, so we should consider whether it makes sense.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...