Operational Defect Database

BugZero found this defect 314 days ago.

MongoDB | 2387665

AutoGetCollectionForReadLockFree constructor should check the shard version when setting shard key

Last update date:

3/13/2024

Affected products:

MongoDB Server

Affected releases:

7.0.0

Fixed releases:

7.1.0-rc0

7.0.8

Description:

Info

[SERVER-78832] AutoGetCollectionForReadLockFree constructor should check the shard version when setting shard key

Top User Comments

xgen-internal-githook commented on Wed, 13 Mar 2024 09:48:47 +0000: Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'} Message: SERVER-78832 Make AutoGetCollectionForReadLockFree check the shard version before setting the shard key (cherry picked from commit 516ecab021d7af72ca5d4952290e643bd5018fc8) GitOrigin-RevId: 1d9861c4db8c27a746edb5c0ef5ac3945a8ed42b Branch: v7.0 https://github.com/mongodb/mongo/commit/06b7e47be75efdcefbe3c6448d26fcfe5ca06797 xgen-internal-githook commented on Fri, 21 Jul 2023 14:13:17 +0000: Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'} Message: SERVER-78832 Make AutoGetCollectionForReadLockFree check the shard version before setting the shard key Branch: master https://github.com/mongodb/mongo/commit/516ecab021d7af72ca5d4952290e643bd5018fc8 mihai.andrei commented on Wed, 12 Jul 2023 14:26:58 +0000: Sending to jordi.serra-torrens@mongodb.com JIRAUSER1257318 commented on Wed, 12 Jul 2023 09:22:59 +0000: This bug is a more general manifestation of SERVER-76197. In this case, its effects also manifest on primary nodes in the presence of concurrent refineCollectionShardKey operations.

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...