ns field has bson.D value that is not string or valid MongoDb
- Dominant language
- JavaScript
- Stars
- 97
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for this great work!! I'm getting this error, has anyone seen it?
` name: 'MongoError',
message: 'ns field has bson.D value that is not string or valid MongoDb RegEx: Error parsing value [{$in [db.collection db.collection2 db.collection2]}] to RegEx: Must specify $regex field',
ok: 0,
errmsg: 'ns field has bson.D value that is not string or valid MongoDb RegEx: Error parsing value [{$in [db.collection db.collection2 db.collection2]}] to RegEx: Must specify $regex field',
code: 8000,
codeName: 'AtlasError' }
`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported MongoError in the MongoDB-to-MySQL replication flow and inspect how the ns value containing the $in expression is built. Trace the affected entry point, determine whether the value is malformed or unsupported, and define done as a confirmed fix or a documented incompatibility with a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, mysql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100