Commit 1fdb8f7
chore(deploy): raise embedded MongoDB FCV floor to 7.0 (#41922)
## What
Raise the embedded MongoDB `featureCompatibilityVersion` (FCV) floor
from 6.0 to 7.0 in `mongodb-fixer.sh` (`FCV_MIN`).
This release still ships MongoDB 7.x. The fixer now raises existing
data's FCV to 7.0 once mongod is up. This is groundwork for a later
MongoDB 8.x upgrade: MongoDB 8.x refuses to start on data below FCV 7.0,
so bumping the data to 7.0 now — under MongoDB 7.x, which supports both
6.0 and 7.0 — lets that future release boot cleanly.
## What is intentionally NOT changed
The pre-flight startup check `ensure_mongodb_fcv_compatible` in
`entrypoint.sh` is left at the 6.0 mongod floor. MongoDB 7.x boots fine
on FCV 6.0 data, so there is no need to raise the startup minimum yet.
That is handled in the release that actually ships MongoDB 8.x.
## Tradeoff
Raising FCV to 7.0 forfeits the ability to roll back to a 6.x Appsmith
release (which shipped MongoDB 6.x) without first deleting the Mongo
data files. Instances on this release are well past the 6.x line, so
this is an accepted one-way step.
## Follow-up for the 8.x release (not this PR)
The preflight fast-path checks the FCV marker file's presence only, not
its value. A customer skipping this release and jumping from a 6.0-floor
release straight to the 8.x release would have FCV-6.0 data plus a
present marker, so the preflight would skip and mongod 8.x would refuse
to boot. The 8.x release must compare the marker's stored value against
7.0 (or bump the marker filename).
## Sync note
`mongodb-fixer.sh` is identical between CE and EE, so this CE change
carries into EE via the hourly sync with no separate EE edit.
Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated MongoDB minimum feature compatibility version from 6.0 to 7.0
to ensure data is brought up to (and enforced against) the higher
compatibility floor.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: Cypress test results -->
> [!WARNING]
> Tests have not run on the HEAD
60a89ee yet
> <hr>Tue, 23 Jun 2026 21:24:20 UTC
<!-- end of auto-generated comment: Cypress test results -->
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4a30154 commit 1fdb8f7
1 file changed
Lines changed: 23 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| |||
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| |||
0 commit comments