Operational Defect Database

BugZero found this defect 58 days ago.

MongoDB | 2621124

Ensure replica set only node crashes when there is a configsvr/shardsvr primary

Last update date:

3/22/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The changes in SERVER-86328 added safety features to ensure that secondaries with cluster roles that do not match the primary's cluster role will crash. It does this by checking that the shard identity document replicated to the secondary matches its own cluster role, and if it doesn't it will crash. However, the code failed to account for a replica set only secondary and a configsvr/shardsvr primary.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Progress

Learn More

Search:

...