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

storageEngine ephemeralForTest is removed since MongoDB 7.0 #121

Open
smeng9 opened this issue Sep 27, 2024 · 0 comments
Open

storageEngine ephemeralForTest is removed since MongoDB 7.0 #121

smeng9 opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@smeng9
Copy link

smeng9 commented Sep 27, 2024

Describe the bug
A clear and concise description of what the bug is.

MongoDB 7.0 removes the storage engine, and the default settings no longer work.
We should treat versions >= 7 differently

To Reproduce
Steps to reproduce the behavior:

  1. Command list
  2. See error

>>> from pymongo_inmemory import MongoClient
>>> m = MongoClient()

Expected behavior
A clear and concise description of what you expected to happen.

I expect my client can connect without a problem

Logs
If applicable, add any kind of collected logs to help us understand the problem.

pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 61] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 66f6ef8e519adcdf8ccb2bef, topology_type: Unknown, servers: [<ServerDescription ('127.0.0.1', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('127.0.0.1:27017: [Errno 61] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>

Screenshots
If logs are not applicable, add screenshots.

Context:

  • OS: macOS
  • Version of pymongo_inmemory 0.4.2
  • Version of mongo you are downloading 7.0
  • Any other additional information about context
@smeng9 smeng9 added the bug Something isn't working label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant