[SERVER-565] NumberLong breaks dataSize Created: 22/Jan/10 Updated: 12/Jul/16 Resolved: 25/Jan/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Michael Dirolf | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
In particular totalIndexSize - which works by getting dataSize for each index and adding them to 0. Seems like this gets implicitly converted to a string append w/ the new NumberLong type. See this example: Instead of ending up with 8192 * 3, we get 0819281928192. |