Comments (5)
So the request didn't reached FerretDB as the driver returned error before that.
It seems that MaxDocumentSize
is a configurable value indicated by the server.
from ferretdb.
In fact, this is indeed configurable 🙈 The value that sets driver was the response from isMaster command's maxBsonObjectSize
field.
from ferretdb.
Let's provide a testing CLI flag for that
from ferretdb.
The error appears to come from the driver. See https://github.com/mongodb/mongo-go-driver/blob/v1/x/mongo/driver/batches.go#L17. So the request didn't reached FerretDB as the driver returned error before that. Let's see what we can do before we add testing CLI flag.
from ferretdb.
That MaxDocumentSize
is internal representation of server and not configurable for a driver. See information about x
package https://github.com/mongodb/mongo-go-driver/tree/345ea9574e28732ca4f9d7d3bb9c103c897a65b8/x
Update:
I don't find implementation within FerretDB restricting maximum document size. And drivers are out of our control unfortunately.
from ferretdb.
Related Issues (20)
- Pushdown $eq on 'String' not working properly HOT 1
- Move website dir in its own repo HOT 2
- Implement `$maxN` aggregation accumulator operator
- Implement `$minN` aggregation accumulator operator
- Implement `$zip` aggregation array expression operator
- Implement `$sortArray` aggregation array expression operator
- Improve error message for invalid ownership / permissions of `state.json`
- batch-size error when using embbeded ferretdb package HOT 1
- Remove localhost exception for new auth
- Implement `ferretdb --setup` flags
- Website is down. HOT 3
- Implement `FERRETDB_USERNAME` and `FERRETDB_PASSWORD` for Docker images
- Implement Docker's HEALTHCHECK
- the problem with BatchSize is in registry.TestOpts{} when using as embedded HOT 1
- Support UniFi Controller HOT 2
- mongodump/monogorestore/monoimport not works for ferretdb HOT 3
- Hundreds of connections make mongodb query slowly HOT 2
- Add restart: on-failure to postgres container as well HOT 1
- `task env-data` should setup `All` collection too
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ferretdb.