-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Bug: [BUG]mongodb 4.0.3 shard duplicate key error log failed #249
Labels
bug
Something isn't working
Comments
kohakugame
changed the title
Bug: [BUG]mongodb 4.4 duplicate key error log failed
Bug: [BUG]mongodb 4.0.3 shard duplicate key error log failed
Aug 5, 2023
it only happen with mongodb shard mode here is a simple docker setup mongo shard
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
mongodb use findOneAndUpdate second time trigger duplicate key error, logger this error fail.
To Reproduce
Steps to reproduce the behavior:
mongo db 4.0.3 shard mode
package.json
index.ts
yarn start
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
console.log('error', error);
// this works finelog.error('second result', error);
cause tracebackAdditional context
Add any other context about the problem here.
Node.js Version
v18.15.0
OS incl. Version
windows 10
The text was updated successfully, but these errors were encountered: