Operational Defect Database

BugZero found this defect 76 days ago.

MongoDB | 2598134

Write without shard key with _id run incorrectly in concurrency_sharded_multi_stmt_txn

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

In the reverted SERVER-85568 PR which caused BF-32046 and BF-32062, we start a new session from generateAndRunRandomUpdateOpWithId and deleteOneWithId in concurrency_sharded_multi_stmt_txn* suites which already runs the config data functions in a transaction session on the db object. We shouldn't create a new session if we are in a transaction.

Top User Comments

xgen-internal-githook commented on Sat, 9 Mar 2024 14:43:35 +0000: Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'} Message: SERVER-85568 SERVER-87460 SERVER-87356 Only retryable writes are WriteWithoutShardKeyWithId (#19580) GitOrigin-RevId: 305dc78a2ec12c8d8c26f549ba2818dba866c1a1 Branch: master https://github.com/mongodb/mongo/commit/28345ed00a037a7d166f86d4166de1ef8160e8d1

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...