Skip to content

Only allow mongo upgrade when featureCompatibilityVersion is already set in Mongo CR #1213

@andrercm

Description

@andrercm

potential customer issue caused by:

  • initially deployed MongoDB 4.2
  • upgraded to 4.4 at some point (before we added all the new logic for upgrading to MongoDB 5)
  • an upgrade to MongoDB 5 was attempted but the feature compatibility was never moved to 4.4

We need to have a solid check to make sure the feature compatibility is set to 4.4 before attempting the upgrade to 5
We are setting featureCompatibilityVersion now but in the past we didn't. That is the only scenario I can think of that would have caused this.

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions