Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: re-enable startup snapshot support MONGOSH-1605 #1842

Merged
merged 5 commits into from
Feb 28, 2024
Merged

Conversation

addaleax
Copy link
Contributor

This involves adding nodejs/node@e54ddf898f6c as a (cleanly applying) patch but otherwise seems to work just fine.

@addaleax addaleax merged commit 36d7d9c into main Feb 28, 2024
56 of 61 checks passed
@addaleax addaleax deleted the 1605-dev branch February 28, 2024 21:12
vorsel added a commit to vorsel/mongosh-packaging that referenced this pull request Apr 1, 2024
1. use npm@9
2. switch from "useNodeSnapshot" to "useCodeCache":
   The reported issue is related to the fact that upstream switched
to use "useNodeSnapshot" and created their own patch for nodejs v20.x.x.
That was done in scope of mongodb-js/mongosh#1842
https://jira.mongodb.org/browse/MONGOSH-1605. Another related issue is
https://jira.mongodb.org/browse/MONGOSH-1604.

   From our end we use nodejs v16.x.x(in order to be able to build
for old systems like centos7), so the upstream patch is not applicable.
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