[SERVER-57485] ChunkVersion IDL is not serialized as Array Created: 07/Jun/21  Updated: 07/Jun/21  Resolved: 07/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Simon Gratzer (Inactive) Assignee: Simon Gratzer (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-56840 IDLify _configsvrCommitChunkMerge com... Closed
Participants:

 Description   

The IDL ChunkVersion type will always be serialized as an object

 

This may cause clients to fail when parsing it with ChunkVersion::parseWithField

The fix is to use the any serialization routine in IDL

bson_serialization_type: any

 



 Comments   
Comment by Simon Gratzer (Inactive) [ 07/Jun/21 ]

we are just going to leave it as it is since it has no negative effects, and any fix would probably break compatibility with older binaries

 

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