Operational Defect Database

BugZero found this defect 17 days ago.

MongoDB | 2660265

collMods occurring as part of setFCV may lose some collections in sharded clusters

Last update date:

5/2/2024

Affected products:

MongoDB Server

Affected releases:

7.3.3

8.0.0-rc5

Fixed releases:

No fixed releases provided.

Description:

Info

As part of SERVER-72229 we made setFCV implement an "upgrade" step that scrubbed encryption options from all local WT collections. This was further reinforced by SERVER-79496 to ban using the options on new nodes but had to be wrapped in a feature flag as part of SERVER-82203. However, this was done without taking into consideration concurrent DDL operations. As such the collection could be created with encryption options during FCV upgrade by a DDL coordinator and missed by the FCV upgrade step. That is, the set of collections we scrub the option from might not be complete. This also conflicts with sharding DDL operations since the collMod occurs locally without taking any sharding DDL locks.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...