[SERVER-8706] Wrong BinData written with mongoimport Created: 25/Feb/13 Updated: 11/Jul/16 Resolved: 26/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.4.0-rc0 |
| Fix Version/s: | 2.4.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gianfranco Palumbo | Assignee: | Shaun Verch |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Using this:
It works fine on 2.2.2. But not on 2.3.2 and 2.4.0-rc0
mongoimport and mongoexport v2.4.0-rc0 commandline: mongoexport is saving
but after running mongoimport, this is what appears on the shell
note: even the objectid is different This doesn't occur with MaxKey(), NumberLong() |
| Comments |
| Comment by Gianfranco Palumbo [ 27/Feb/13 ] |
|
You're correct, I must have confused tests or mongod instances. |
| Comment by Shaun Verch [ 26/Feb/13 ] |
|
gianfranco Note: I could not reproduce the difference in ObjectIDs. Feel free to open a new ticket if you still find that this is a problem. |
| Comment by Shaun Verch [ 26/Feb/13 ] |
|
This issue was fixed by: https://github.com/mongodb/mongo/commit/0e0b5016ab80630666277790adbd8042b2c5bb68 |