You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My CI pipeline refers to MongoDB versions like "v6.0-latest". This worked with mongodb-memory-server(-core) 8.x, but it seems like it no longer works in 9.x (9.1.3, at least).
No, but my guess is it may be something similar to #734, where some code maybe slipped in between 8.x and 9.x that adds some semver comparison that doesn't sanitize for -latest?
Thanks so much for helping track this down, let me know if there's any other info you need from me!
The text was updated successfully, but these errors were encountered:
thanks for reporting, issue is quite obvious: v6.0-latest is not a valid semver version and was not coerced to one beforehand, and since 9.0 there are checks against the version to decide the default storage-engine to use, because mongodb 7.0 removed the ephermeralForTest(in-memory) engine, which is faster than wiredTiger and so is still used as a default for lower versions
Versions
package: mongo-memory-server(-core)
What is the Problem?
My CI pipeline refers to MongoDB versions like "v6.0-latest". This worked with
mongodb-memory-server(-core)
8.x, but it seems like it no longer works in 9.x (9.1.3, at least).Code Example
Here's where we define the MongoDB version strings in our repo, for our CI pipeline: https://github.com/winstonjs/winston-mongodb/blob/master/.github/workflows/ci.yml
Debug Output
Please see the GitHub Actions output here: winstonjs/winston-mongodb#259
Do you know why it happens?
No, but my guess is it may be something similar to #734, where some code maybe slipped in between 8.x and 9.x that adds some semver comparison that doesn't sanitize for
-latest
?Thanks so much for helping track this down, let me know if there's any other info you need from me!
The text was updated successfully, but these errors were encountered: