Skip to content

Investigate alternative to connect-mongo #5481

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

Open
1 task
carmenfan opened this issue Mar 28, 2025 · 0 comments
Open
1 task

Investigate alternative to connect-mongo #5481

carmenfan opened this issue Mar 28, 2025 · 0 comments

Comments

@carmenfan
Copy link
Member

carmenfan commented Mar 28, 2025

Description

We're using mongo as our session store via connect-mongo and whilst it's somewhat functional we've been running into issues lately.

  1. it has inadequate self healing capabilities (see Session manager doesn't recover from Topology is closed error #5418)
  2. occasionally session is not updated as desired (seems to be more prominent on a replica set and if the request is short lived see comment)

Suggested solution

We should look at alternatives (both mongo as storage libraries and also alternative methods to store our sessions)

https://github.com/mongodb-js/connect-mongodb-session is now a suggested alternative

Goal

  • As a 3DR admin I want to ensure my session store is robust and updates are committed (or at least throws you an error if it failed

Tasks

TBC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant