Operational Defect Database

BugZero found this defect 31 days ago.

MongoDB | 2646371

Make sure PlanCacheKeyCollectionState::version is the same on all shards

Last update date:

4/18/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

TL;DR PlanCacheKeyCollectionState::version may be different across shards to the same collection when sharded. This causes planCacheKeyHash to be different, which makes the test fail (as it expects hash to be the same). In case we assume this value should be the same for all shards and be kept in sync then we need to investigate why it is different and fix it, otherwise mark as "works as designed" and rewrite the test to not rely on this assumption. Detailed description of the problem could be found here

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...