Operational Defect Database

BugZero found this defect 30 days ago.

MongoDB | 2647431

replication_consistency_markers_impl_bm should skip direct shard operation checks

Last update date:

4/19/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The replication_consistency_markers_imply_bm is never initializing the ShardingState but is using AutoGetCollection during the test. AutoGetCollection is one of the places where the direct shard operation checks are performed, which uses the sharding state to determine whether the cluster is sharded. The test can skip the direct connection checks using the failpoint `skipDirectConnectionChecks`.

Top User Comments

xgen-internal-githook commented on Fri, 19 Apr 2024 16:52:03 +0000: Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'} Message: SERVER-89592 replication_consistency_markers_impl_bm should skip direct shard operation checks (#21291) GitOrigin-RevId: 08a76488a436765175cebc0e9f0c6e9fabecf136 Branch: master https://github.com/mongodb/mongo/commit/3a37385ec894d703aa78b7d1fae8032d26725145

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...