[SERVER-30441] Commands with sequences parsed through IDL cannot be serialized Created: 31/Jul/17 Updated: 30/Oct/23 Resolved: 01/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | IDL |
| Affects Version/s: | 3.5.10 |
| Fix Version/s: | 3.5.11 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Construct an opMsg with sequence (as opposed to the corresponding BSON field) |
| Sprint: | Sharding 2017-08-21 |
| Participants: |
| Description |
|
If a command which contains sequences is parsed through IDL, the corresponding _hasField value is not set. Because of this, trying to serialize the same command back to BSON will invariant that there are missing fields. |
| Comments |
| Comment by Githook User [ 01/Aug/17 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm', 'name': 'Kaloian Manassiev'}Message: |