-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
refactor(userSchema): unique index definitions using partialFilterExpression
instead of sparse
#1814
base: main
Are you sure you want to change the base?
Conversation
Some progress: I managed to resolve the duplicate collection error by commenting out the keyVMongo object creation here: https://github.com/danny-avila/LibreChat/blob/partial-filter-index/api/cache/keyvMongo.js#L6 It looks like something goes wrong when instantiating that class that breaks migrations or something? I added a redis cache to avoid MongoDB here and both errors from my previous comment disappeared. I was able to create two users successfully.
I'm now trying to figure out the Azure OpenID authentication to test that as well. Edit: Looks like I'm running into this issue: #1521 Don't think I can progress until that weird MongoDB logs collection error is solved :/ |
…pression` instead of `sparse`
8ec3ea9
to
a1c7110
Compare
Linking this comment so that anyone else hoping for a resolution knows
|
Addresses CosmosDB compatibility issue