-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: mongodump
-
None
-
v3.4
Hey,
I created a view where some of the documents exceed "maximum document size". So when I run:
mongodump -c=my-view -d=my-database
I'm getting an error like:
Failed: error counting my-database.my-view: Total size of documents in my-view matching { $match: { $and: [ { some_id: { $eq: "something" } }, {} ] } } exceeds maximum document size
Why does mongodump iterates through each element in the view? Shouldn't it just create a metadata file as it described here https://jira.mongodb.org/browse/DOCS-8633 ?
Thanks
- duplicates
-
TOOLS-1542 dump and export shouldn't count views before running
- Closed