[JAVA-289] driver does not allow doc sizes matching the server limit, for both insert and find Created: 02/Mar/11 Updated: 17/Mar/11 Resolved: 03/Mar/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antoine Girbal | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
we upped server limit to 16MB. |
| Comments |
| Comment by auto [ 04/Mar/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by auto [ 02/Mar/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Antoine Girbal [ 02/Mar/11 ] |
|
It is messy to try to put limits on driver side:
Since server is properly returning an error if doc is too large, then driver just has to relay error as MongoException. Before driver only checked on inserts with limit of 4MB. |
| Comment by auto [ 02/Mar/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |