Commit a3fd1f3
committed
JAVA-1171: Allowing query documents to exceed the maximum document size by 16K, so that, for example, the findAndModify command can be used to upsert a 16M document. Without this headroom, the additional space taken by the surrounding command document would push it over 16M, and the driver would through an exception. 16K was chosen as the value because it matches the constant used in the server code base.
1 parent 439806c commit a3fd1f3
File tree
2 files changed
+16
-1
lines changed- src
- main/com/mongodb
- test/com/mongodb
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
509 | 518 | | |
510 | 519 | | |
511 | 520 | | |
| |||
0 commit comments