[SERVER-63033] Refactor MultiIndexBlock::_constructStateObject to use IDL objects instead of manual serialization Created: 27/Jan/22 Updated: 29/Oct/23 Resolved: 22/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jordi Olivares Provencio | Assignee: | Jordi Olivares Provencio |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | new-eng, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2022-03-07 |
| Participants: |
| Description |
|
The method at multi_index_block.cpp that does the serialization of the state object to BSON is manually constructing the BSON instead of relying on the auto-generated class from theĀ resumable_index_build.idl file. It's recommended to use the class with its serialization methods to avoid human error when serializing. |
| Comments |
| Comment by Githook User [ 22/Feb/22 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |