Skip to content

fix: replace deprecated 'mongo' shell with 'mongosh' for replica set initialization#267

Merged
nsathyaseelan merged 2 commits intodevelopfrom
gtm-4519-1
Feb 6, 2026
Merged

fix: replace deprecated 'mongo' shell with 'mongosh' for replica set initialization#267
nsathyaseelan merged 2 commits intodevelopfrom
gtm-4519-1

Conversation

@nsathyaseelan
Copy link
Contributor

The legacy 'mongo' shell command has been replaced with 'mongosh' in MongoDB 5.0+.
This fixes the "command terminated with exit code 127" error during MongoDB replicaset initialisation.

…initialization

Signed-off-by: nsathyaseelan <sathyaseelan.n@datacore.com>
@nsathyaseelan nsathyaseelan self-assigned this Feb 5, 2026
@nsathyaseelan nsathyaseelan requested review from a team as code owners February 5, 2026 11:53
@nsathyaseelan nsathyaseelan merged commit 1573b94 into develop Feb 6, 2026
2 checks passed
@nsathyaseelan nsathyaseelan deleted the gtm-4519-1 branch February 6, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants