[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: SERVER-63033 Refactor resumable index builds to use IDL instead of manual BSON building
Branch: master
https://github.com/mongodb/mongo/commit/6f2f8c761f3e23b2f8c8a03d45f5c5ef3d6e86b1

Generated at Thu Feb 08 05:56:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.