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
create Troubleshooting docs, add "MongoDB BulkWriteError" and solution (Set the connection string correctly i.e. /game-stats?retryWrites=...)
Resources
Mongo Error
ERROR [27-10-2023 10:23:51]: No write concern mode named 'majority/game-stats' found in replica set configuration
Oct 27 12:24:07 PM err: {
Oct 27 12:24:07 PM "type": "MongoBulkWriteError",
Oct 27 12:24:07 PM "message": "No write concern mode named 'majority/game-stats' found in replica set configuration",
Oct 27 12:24:07 PM "stack":
Oct 27 12:24:07 PM MongoBulkWriteError: No write concern mode named 'majority/game-stats' found in replica set configuration
Oct 27 12:24:07 PM at handleMongoWriteConcernError (/app/steam-game-stats/node_modules/mongodb/lib/bulk/common.js:456:14)
Oct 27 12:24:07 PM at resultHandler (/app/steam-game-stats/node_modules/mongodb/lib/bulk/common.js:393:20)
Oct 27 12:24:07 PM at /app/steam-game-stats/node_modules/mongodb/lib/utils.js:413:17
Oct 27 12:24:07 PM at /app/steam-game-stats/node_modules/mongodb/lib/operations/execute_operation.js:57:17
Oct 27 12:24:07 PM at retryOperation (/app/steam-game-stats/node_modules/mongodb/lib/operations/execute_operation.js:106:20)
Oct 27 12:24:07 PM at /app/steam-game-stats/node_modules/mongodb/lib/operations/execute_operation.js:157:32
Oct 27 12:24:07 PM at /app/steam-game-stats/node_modules/mongodb/lib/cmap/connection_pool.js:270:25
Oct 27 12:24:07 PM at handleOperationResult (/app/steam-game-stats/node_modules/mongodb/lib/sdam/server.js:385:16)
Oct 27 12:24:07 PM at Connection.onMessage (/app/steam-game-stats/node_modules/mongodb/lib/cmap/connection.js:199:21)
Oct 27 12:24:07 PM at MessageStream.<anonymous> (/app/steam-game-stats/node_modules/mongodb/lib/cmap/connection.js:63:60)
Oct 27 12:24:07 PM "writeErrors": [],
Oct 27 12:24:07 PM "result": {
Oct 27 12:24:07 PM "ok": 1,
Oct 27 12:24:07 PM "writeErrors": [],
Oct 27 12:24:07 PM "writeConcernErrors": [
Oct 27 12:24:07 PM {
Oct 27 12:24:07 PM "code": 79,
Oct 27 12:24:07 PM "codeName": "UnknownReplWriteConcern",
Oct 27 12:24:07 PM "errmsg": "No write concern mode named 'majority/game-stats' found in replica set configuration",
Oct 27 12:24:07 PM "errInfo": {
Oct 27 12:24:07 PM "writeConcern": {
Oct 27 12:24:07 PM "w": "majority/game-stats",
Oct 27 12:24:07 PM "wtimeout": 0,
Oct 27 12:24:07 PM "provenance": "clientSupplied"
Oct 27 12:24:07 PM }
Oct 27 12:24:07 PM }
Oct 27 12:24:07 PM }
Oct 27 12:24:07 PM ],
The text was updated successfully, but these errors were encountered:
Description
Resources
The text was updated successfully, but these errors were encountered: